public async Task <List <Catalog> > GetAll() => await business.GetAll <Catalog>();
Exemplo n.º 2
0
 public async Task <List <Faculty> > GetAll() => await business.GetAll <Faculty>();
 public async Task <List <EmployeeResponse> > GetAll() => await business.GetAll <EmployeeResponse>();
Exemplo n.º 4
0
 // GET: api/Producto
 public virtual IEnumerable <TDTO> Get()
 {
     return(_genericBusiness.GetAll().Select(x => Mapper.Map <TDTO>(x)));
 }