public async Task <IActionResult> Update([FromBody] Atendimento entity) { if (entity == null) { return(BadRequest()); } entity.DtAlteracao = DateTime.Now; await _service.UpdateAsync(entity); return(new NoContentResult()); }
public async Task <IActionResult> Update([FromBody] Atendimento entity) { if (entity == null) { return(BadRequest()); } entity.DtAlteracao = DateTime.Now; await _service.UpdateAsync(entity); return(new NoContentResult()); }