Beispiel #1
0
 public ActionResult <List <Dog> > Get()
 {
     try
     {
         return(_dogService.GetDogs());
     }
     catch (Exception)
     {
         return(StatusCode(500));
     }
 }