public async Task Update([FromBody] CatalogUpdate catalog) => await business.Update(catalog);
public async Task Update([FromBody] Faculty faculty) => await business.Update(faculty);
public async Task Update([FromBody] EmployeeUpdate employee) => await business.Update(employee);
// PUT: api/Producto public virtual void Put([FromBody] TDTO entityDto) { var entity = Mapper.Map <T>(entityDto); _genericBusiness.Update(entity); }