예제 #1
0
        public async Task <IActionResult> Put(
            [FromRoute] int jobApplicationId,
            [FromBody] JobApplicationWithStateReq request)
        {
            bool found = await _jobApplicationService.EditAsync(jobApplicationId, request);

            if (!found)
            {
                return(StatusCode(404));
            }
            return(StatusCode(204));
        }