public async Task <ActionResult <UploadGeofenceModel> > GetGeofence()
 {
     try
     {
         return(Ok(await _azureMapsApiService.GetGeofence()));
     }
     catch (GeofenceNotFoundException)
     {
         return(Accepted());
     }
 }
Пример #2
0
 public async Task <ActionResult <UploadGeofenceModel> > GetGeofence()
 {
     return(Ok(await _azureMapsApiService.GetGeofence()));
 }