J'ai une autre question simple pour tous vous mvc gourous.avec mvc.net vue partielle, comment puis-je accéder au modèle affecté au modèle
J'ai une vue partielle avec la définition suivante.
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IList<whoozit.Models.PictureModel>>" %>
Comment accéder aux données qui ont été affectées à la vue?
La propriété du modèle? – Necros