Exemplo n.º 1
0
 public IActionResult Get()
 {
     try
     {
         var board = _dataService.Get(10, 10, 10, 1);
         if (board != null)
         {
             return(Ok(board));
         }
         return(NotFound());
     }
     catch (Exception e)
     {
         return(StatusCode(500, "Something went wrong. Please try again later"));
     }
 }