public ActionResult NewBooking() { BookingViewModel viewModel = new BookingViewModel { Attractions = attractionRepository.GetAll() }; return(View(viewModel)); }
public IQueryable <Attraction> GetAllAtrraction(Expression <Func <Attraction, bool> > where, params Expression <Func <Attraction, object> >[] includes) { return(_iRespository.GetAll(where, includes)); }