using CD67.FicheCollege.Entity; using System.Collections.Generic; namespace CD67.FicheCollege.MVC.Models { public class AnneeViewModel : BaseViewModel { public AnneeViewModel(Annee model, ModeAcces acces = ModeAcces.Lecture, Dictionary bag = null) : base(model, acces, bag) { } public override string Annee_Lib { get { return Obj.Libelle; } } } public class AnneeIndexViewModel : BaseViewModel> { public AnneeIndexViewModel(IEnumerable model, ModeAcces acces = ModeAcces.Lecture, Dictionary bag = null) : base(model, acces, bag) { } public override string Annee_Lib { get { return ""; } } } }