public async Task <CustomResponse <EscalaDor> > Put([FromBody] EscalaDor escalador, [FromServices] AccessManager accessManager) { return(await _service.Atualizar(escalador, Guid.Parse(HttpContext.User.Identity.Name))); }
public async Task <CustomResponse <EscalaDor> > Incluir([FromBody] EscalaDor escalador) { return(await _service.Adicionar(escalador, Guid.Parse(HttpContext.User.Identity.Name))); }