public virtual ActionResult <TModel> Update(int id, [FromBody] TUpdate request) { try { return(_service.Update(id, request)); } catch { return(BadRequest("Update request doesn't contain valid values")); } }
public void Update(TEntity obj) { _serviceBase.Update(obj); }
public T Update(int id, [FromBody] TUpdate request) { return(_service.Update(id, request)); }
public virtual TEntityDTO Put(int id, [FromBody] TEntityUpdateRequest request) { return(_baseCRUDService.Update(id, request)); }