コード例 #1
0
        public IActionResult UpdateAssignedUser([FromQuery] string userId, int problemId)
        {
            var result = _problemService.AssignUserToProblem(userId, problemId);

            if (result)
            {
                return(Ok());
            }

            return(BadRequest());
        }