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

            _genericBusiness.Update(entity);
        }