Exemplo n.º 1
0
 public IActionResult GetAll(Guid userId)
 {
     try
     {
         return(Ok(taskServices.GetAllTaskById(userId)));
     }
     catch (Exception exp)
     {
         return(StatusCode(500, "A problem happened with handling your request."));
     }
 }