public ActionResult <GetDriverByID> GetDriverByID(int driverID)
        {
            try
            {
                var result = _repository.GetDriverById(driverID);

                IMapper mapper = EDeliveryProfile.GetDriverId();
                return(mapper.Map <GetDriverByID>(result));
            }
            catch (Exception ex)
            {
                _logger.LogError($"Failed to get the Driver:{ex}");
                return(BadRequest("Failed to get the Driver"));
            }
        }