Beispiel #1
0
 public AllCuisinesController(IBizInfoRepository bizInfoRepo, IBizCuisineRepository bizCuisineRepo,
                              ICuisineTypeRepository cuisineTypeRepo)
 {
     BizInfoRepository     = bizInfoRepo;
     BizCuisineRepository  = bizCuisineRepo;
     CuisineTypeRepository = cuisineTypeRepo;
 }
 public ReservationController(IBizInfoRepository bizInfoRepo, IBizCuisineRepository bizCuisineRepo,
                              IBizRVInfoRepository bizRVInfoRepo, IReservationRepository reservationRepo)
 {
     BizInfoRepository     = bizInfoRepo;
     BizCuisineRepository  = bizCuisineRepo;
     BizRVInfoRepository   = bizRVInfoRepo;
     ReservationRepository = reservationRepo;
 }
 public HomeController(IBizInfoRepository bizInfoRepo, IBizCuisineRepository bizCuisineRepo,
                       IGiftCardRepository giftCardRepo, IUserRepository userRepo,
                       ICreditCardTypeRepository creditCardTypeRepo, ICreditCardRepository creditCardRepo,
                       IDiscountCouponRepository discountCouponRepo, IFreeItemCouponRepository freeItemCouponRepo,
                       IHotelRepository hotelRepo, IHotelTypeRepository hotelTypeRepo)
 {
     BizInfoRepository        = bizInfoRepo;
     BizCuisineRepository     = bizCuisineRepo;
     GiftCardRepository       = giftCardRepo;
     UserRepository           = userRepo;
     CreditCardTypeRepository = creditCardTypeRepo;
     CreditCardRepository     = creditCardRepo;
     DiscountCouponRepository = discountCouponRepo;
     FreeItemCouponRepository = freeItemCouponRepo;
     HotelRepository          = hotelRepo;
     HotelTypeRepository      = hotelTypeRepo;
 }
 public CartController(IProductRepository productRepo, IBizInfoRepository bizInfoRepo,
                       IBizCuisineRepository bizCuisineRepo, ICuisineTypeRepository cuisineTypeRepo,
                       IProductToppingRepository productToppingRepo, IProductSizeRepository productSizeRepo,
                       ISideChoiceRepository sideChoiceRepo, IProductDressingRepository productDressingRepo,
                       IDiscountCouponRepository discountCouponRepo, IFreeItemCouponRepository FreeItemCouponRepo,
                       ICrustChoiceRepository crustChoiceRepo, ICheeseAmountRepository cheeseAmountRepo)
 {
     ProductRepository         = productRepo;
     BizInfoRepository         = bizInfoRepo;
     BizCuisineRepository      = bizCuisineRepo;
     CuisineTypeRepository     = cuisineTypeRepo;
     ProductToppingRepository  = productToppingRepo;
     ProductSizeRepository     = productSizeRepo;
     SideChoiceRepository      = sideChoiceRepo;
     ProductDressingRepository = productDressingRepo;
     DiscountCouponRepository  = discountCouponRepo;
     FreeItemCouponRepository  = FreeItemCouponRepo;
     CrustChoiceRepository     = crustChoiceRepo;
     CheeseAmountRepository    = cheeseAmountRepo;
 }
Beispiel #5
0
 public GroupCheckoutController(IBizInfoRepository bizInfoRepo, IBizCuisineRepository bizCuisineRepo,
                                ICuisineTypeRepository cuisineTypeRepo, ICategoryRepository categoryRepo,
                                IProductRepository productRepo, IProductToppingRepository productToppingRepo,
                                IProductDressingRepository productDressingRepo, IDiscountCouponRepository discountCouponRepo,
                                IFreeItemCouponRepository FreeItemCouponRepo, IUserDetailRepository userDetailRepo,
                                ICreditCardTypeRepository creditCardTypeRepo, IOrderRepository orderRepo,
                                ICreditCardRepository creditCardRepo)
 {
     BizInfoRepository         = bizInfoRepo;
     BizCuisineRepository      = bizCuisineRepo;
     CuisineTypeRepository     = cuisineTypeRepo;
     CategoryRepository        = categoryRepo;
     ProductRepository         = productRepo;
     ProductToppingRepository  = productToppingRepo;
     ProductDressingRepository = productDressingRepo;
     DiscountCouponRepository  = discountCouponRepo;
     FreeItemCouponRepository  = FreeItemCouponRepo;
     UserDetailRepository      = userDetailRepo;
     CreditCardTypeRepository  = creditCardTypeRepo;
     OrderRepository           = orderRepo;
     CreditCardRepository      = creditCardRepo;
     TempData["valid"]         = "";
 }
 public RestaurantsController(IBizInfoRepository bizInfoRepo, IBizCuisineRepository bizCuisineRepo,
                              ICuisineTypeRepository cuisineTypeRepo, ICategoryRepository categoryRepo,
                              IProductRepository productRepo, IProductToppingRepository productToppingRepo,
                              IProductDressingRepository productDressingRepo, IDiscountCouponRepository discountCouponRepo,
                              IFreeItemCouponRepository freeItemCouponRepo, IFavorRestaurantRepository favorRestaurantRepo,
                              IOrderRepository orderRepo, IBizImageRepository bizImageRepo)
 {
     ViewBag.TitleSortParam    = "BizTitle";
     ViewBag.NewestSortParam   = "AddedDate desc";
     ViewBag.SortParam         = "BizTitle";
     BizInfoRepository         = bizInfoRepo;
     BizCuisineRepository      = bizCuisineRepo;
     CuisineTypeRepository     = cuisineTypeRepo;
     CategoryRepository        = categoryRepo;
     ProductRepository         = productRepo;
     ProductToppingRepository  = productToppingRepo;
     ProductDressingRepository = productDressingRepo;
     DiscountCouponRepository  = discountCouponRepo;
     FreeItemCouponRepository  = freeItemCouponRepo;
     FavorRestaurantRepository = favorRestaurantRepo;
     OrderRepository           = orderRepo;
     BizImageRepository        = bizImageRepo;
 }
Beispiel #7
0
 public AllZipcodesController(IBizInfoRepository bizInfoRepo, IBizCuisineRepository bizCuisineRepo)
 {
     BizInfoRepository    = bizInfoRepo;
     BizCuisineRepository = bizCuisineRepo;
 }
Beispiel #8
0
 public CityZipController(IBizInfoRepository bizInfoRepo, IBizCuisineRepository bizCuisineRepo)
 {
     BizInfoRepository    = bizInfoRepo;
     BizCuisineRepository = bizCuisineRepo;
 }