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

            return(View());
        }
Beispiel #2
0
 // GET: RentContracts
 public ActionResult Index()
 {
     return(View(objects.GetRentContracts()));
 }