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