// GET: Payments/Create public ActionResult Create() { ViewBag.EmployeeID = new SelectList(objects.GetEmployees(), "EmployeeID", "Identification"); ViewBag.RentalContractID = new SelectList(objects.GetRentalContracts(), "RentalContractID", "Description"); return(View()); }
// GET: RentalContracts public ActionResult Index() { return(View(objects.GetRentalContracts())); }