public IActionResult ChangePassword([FromBody] ChangePasswordRequest RequestData)
        {
            if (!_service.IsAuthorizedRiderOrAdmin(
                    RequestData.RequestingId,
                    RequestData.TargetId,
                    RequestData.Authorization))
            {
                return(Unauthorized());
            }


            Rider foundRider = _context.Riders.SingleOrDefault <Rider>(
                r => r.ID == RequestData.TargetId);

            if (foundRider != null)
            {
                AuthorizationResponseData ResponseData = _service.UpdatePassword(foundRider, RequestData.Password);
                return(Ok(ResponseData));
            }

            return(NotFound());
        }