public IActionResult DeleteUser(int id) { var res = manager.DeleteUser(id); if (res.Length == 0) { return(Ok()); } return(BadRequest()); }