public ActionResult SearchRentalId(string searchrentalid)
        {
            var _r     = new RentalBusiness();
            var search = from c in _r.GetAllRentals() select c;

            search = search.Where(d => d.RentalId.Equals(searchrentalid));

            return(View(search));
        }
        public ActionResult SearchRentalId()
        {
            var _r = new RentalBusiness();

            return(View(_r.GetAllRentals()));
        }
예제 #3
0
 public ActionResult Index()
 {
     return(View(_Rental.GetAllRentals()));
 }