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