public async Task <IActionResult> GetRider(int id)
        {
            var data = await _riderService.GetRiderAsync(id);

            if (data == null)
            {
                return(NotFound(new ResponseModel <RiderViewModel> {
                    Message = "No rider data found", IsSuccess = false, Data = null
                }));
            }
            return(Ok(new ResponseModel <RiderViewModel>()
            {
                Data = data, Message = $"Rider found", IsSuccess = true
            }));
        }