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