Beispiel #1
0
 public IActionResult GetToDoTasksByDescription(string description, int page = 1)
 {
     try
     {
         var toDoTask = _toDoTaskService.GetToDoTasksByDescription(page, description).Result;
         return(Ok(toDoTask));
     }
     catch (Exception ex)
     {
         //TODO log exception
         return(BadRequest(ex.Message));
     }
 }