예제 #1
0
 public async Task <IActionResult> ConfirmUser([FromBody] int id)
 {
     if (_userManager.ConfirmUser(id))
     {
         return(Ok());
     }
     return(BadRequest());
 }