GroupeViewModel.cs 963 B

1234567891011121314151617181920212223242526272829
  1. using CD67.FicheCollege.Entity;
  2. using CD67.FicheCollege.Factory;
  3. using CD67.FicheCollege.MVC.Internal;
  4. using System.Collections.Generic;
  5. using System.Web.Mvc;
  6. namespace CD67.FicheCollege.MVC.Models
  7. {
  8. public class GroupeViewModel : BaseViewModel<Groupe>
  9. {
  10. public GroupeViewModel(Groupe model, ModeAcces acces = ModeAcces.Lecture, Dictionary<string, object> bag = null) : base(model, acces, bag)
  11. {
  12. }
  13. public override int Annee_Id { get { return 0; } }
  14. public override string Annee_Lib { get { return ""; } }
  15. }
  16. public class GroupeIndexViewModel : BaseViewModel<IEnumerable<Groupe>>
  17. {
  18. public GroupeIndexViewModel(IEnumerable<Groupe> model, ModeAcces acces = ModeAcces.Lecture, Dictionary<string, object> bag = null) : base(model, acces, bag)
  19. {
  20. }
  21. public override int Annee_Id { get { return 0; } }
  22. public override string Annee_Lib { get { return ""; } }
  23. }
  24. }