public IActionResult UpdateAssignedUser([FromQuery] string userId, int problemId) { var result = _problemService.AssignUserToProblem(userId, problemId); if (result) { return(Ok()); } return(BadRequest()); }