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