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