public List <Formation> GetAll()
 {
     return(_repository.GetAll());
 }
示例#2
0
 // GET: Formations
 public ActionResult Index()
 {
     return(View(Mapper.Map <IEnumerable <FormationViewModel> >(_repository.GetAll())));
 }