예제 #1
0
 public IActionResult SetCompletion([FromQuery] int projectTaskId, [FromBody] ToggleCompletionDto dto)
 {
     return(withUser(Request, user =>
     {
         _projectTaskService.SetCompletion(user.Id, projectTaskId, dto.Completed);
         return Ok();
     }));
 }