public IActionResult CreateEntry() { return(View(new CreateEntryViewModel { Drivers = _driverRepo.GetAllDrivers(), Shippers = _shipperRepo.GetAllShippers(), Customers = _customerRepo.GetAllCustomer(), Consignees = _consigneeRepo.GetAllConsignee() })); }
public IActionResult Index() { var model = _customerRepo.GetAllCustomer(); return(View(model)); }
public IEnumerable <Customer> GetAllCustomer() { return(_customerRepo.GetAllCustomer()); }