public BillService(IBillRepository billRepository, IBillDetailRepository billDetailRepository, IDrinkRepository drinkRepository, IPromotionDetailRepository promotionDetailRepository) { this.billRepository = billRepository; this.billDetailRepository = billDetailRepository; this.drinkRepository = drinkRepository; this.promotionDetailRepository = promotionDetailRepository; }
public FormDatHangController(IMenuRepository menuRepository, IDetailMenuCommentRepository detailMenuCommentRepository, IDetailMenuCommentItemRepository detailMenuCommentItemRepository, IUnitOfWork unitOfWork, IMenuOptionRepository menuOptionRepository, IPromotionDetailRepository promotionDetailRepository) { _menuRepository = menuRepository; _detailMenuCommentRepository = detailMenuCommentRepository; _detailMenuCommentItemRepository = detailMenuCommentItemRepository; _unitOfWork = unitOfWork; _menuOptionRepository = menuOptionRepository; _promotionDetailRepository = promotionDetailRepository; }
public PromotionController( IUnitOfWork unitOfWork, IPromotionRepository promotionRepository, IMenuRepository menuRepository, IPromotionDetailRepository promotionDetailRepository, IMenuOptionRepository menuOptionRepository, HttpContextBase httpContext) { _unitOfWork = unitOfWork; _promotionRepository = promotionRepository; _menuRepository = menuRepository; _promotionDetailRepository = promotionDetailRepository; _menuOptionRepository = menuOptionRepository; _httpContext = httpContext; }
public PromotionDetailService(IPromotionDetailRepository promotionDetailRepository) { this.promotionDetailRepository = promotionDetailRepository; }