Пример #1
0
 public IActionResult GetAllLocations()
 {
     try
     {
         return(Ok(_locationServices.GetAllLocations()));
     }
     catch (Exception)
     {
         return(StatusCode(500));
     }
 }