Beispiel #1
0
 public IActionResult GetToDoTask(Guid id)
 {
     try
     {
         var toDoTask = _toDoTaskService.GetToDoTask(id).Result;
         return(Ok(toDoTask));
     }
     catch (Exception ex)
     {
         //TODO log exception
         return(BadRequest(ex.Message));
     }
 }