public IActionResult UpdateLocation(Locations location)
 {
     try
     {
         locationServices.UpdateLocation(location);
         return(CreatedAtAction("UpdateLocation", location));
     }
     catch (Exception)
     {
         return(BadRequest());
     }
 }