public IActionResult GetRiderLocation(RiderLocation LocationData)
        {
            if (!_service.IsAuthorizedRider(LocationData.RequestingId, LocationData.Authorization))
            {
                return(Unauthorized());
            }

            Rider riderToGet = _context.Riders.SingleOrDefault(r => r.ID == LocationData.RiderId);

            if (riderToGet != null)
            {
                _service.GetRiderLocation(riderToGet, LocationData);
                return(Ok(LocationData));
            }

            return(NotFound());
        }