Exemplo n.º 1
0
 public ViewModelLocator()
 {
     JoueursViewModel     = new JoueursViewModel();
     ClubsViewModel       = new ClubsViewModel();
     SexesViewModel       = new SexesViewModel();
     TabViewModel         = new TabViewModel();
     SeriesViewModel      = new SeriesViewModel();
     ClassementsViewModel = new ClassementsViewModel();
     EquipesViewModel     = new EquipesViewModel();
     MatchsViewModel      = new MatchsViewModel();
     TableauBordViewModel = new TableauBordViewModel();
 }
Exemplo n.º 2
0
        public ActionResult EditList()
        {
            SexesViewModel sexesVm = new SexesViewModel();

            return(View(sexesVm));
        }
Exemplo n.º 3
0
 public ActionResult ListEdit(SexesViewModel vm)
 {
     return(RedirectToAction("Edit", new { id = vm.SexeChoisi }));
 }
Exemplo n.º 4
0
 public ActionResult ListDelete(SexesViewModel vm)
 {
     return(RedirectToAction("Delete", new { id = vm.SexeChoisi }));
 }