// GET: api/Drivers
        public IEnumerable <DM.Driver> GetDrivers()
        {
            var temp = db.Drivers.ToList();
            List <DM.Driver> driver = new List <Models.Driver>();

            foreach (var item in temp)
            {
                driver.Add(ConvertEntityToModel.DriverToModel(item));
            }
            return(driver);
        }
        // GET: api/Customers
        public IEnumerable <DM.Customer> GetCustomers()
        {
            var temp = db.Customers.ToList();
            List <DM.Customer> customer = new List <Models.Customer>();

            foreach (var item in temp)
            {
                customer.Add(ConvertEntityToModel.CustomerToModel(item));
            }
            return(customer);
        }