示例#1
0
 public IActionResult AlterarTelefone(int id, [FromBody] string telefone)
 {
     try
     {
         _usuarioRepository.AlterarTelefone(id, telefone);
         return(Ok());
     }
     catch (Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }