public List <Prato> GetAll(string restaurante)
 {
     return(_repository.GetAll(restaurante));
 }
 public IEnumerable <Prato> GetAll()
 {
     return(_repository.GetAll());
 }
Пример #3
0
 public List <PratoViewModel> GetAll()
 {
     return(_mapper.Map <List <PratoViewModel> >(_repo.GetAll()));
 }