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