public ActionResult Index() { CustomerRepo objCustomerRepo = new CustomerRepo(); ItemRepo objItemRepo = new ItemRepo(); PaymentTypeRepo objPaymentTypeRepo = new PaymentTypeRepo(); var objMultipleModels = new Tuple <IEnumerable <SelectListItem>, IEnumerable <SelectListItem>, IEnumerable <SelectListItem> > (objCustomerRepo.GetAllCustomer(), objItemRepo.GetAllItem(), objPaymentTypeRepo.GetAllPaymentType()); return(View(objMultipleModels)); }
public List <Item> GetAllItems() { return(_repo.GetAllItem()); }