コード例 #1
0
 public AMPSanPhamController(IMenuRepository menuRepository, HttpContextBase httpContext, IProductStockSyncRepository stockSyncRepository, IPromotionRepository promotionRepository, IUserRatingRepository userRatingRepository, IDanhSachTagRepository danhSachTagRepository, IThietLapRepository thietLapRepository)
 {
     _menuRepository        = menuRepository;
     _httpContext           = httpContext;
     _stockSyncRepository   = stockSyncRepository;
     _promotionRepository   = promotionRepository;
     _userRatingRepository  = userRatingRepository;
     _danhSachTagRepository = danhSachTagRepository;
     _ThietLapRepository    = thietLapRepository;
 }
コード例 #2
0
 public SanPhamController(IMenuRepository menuRepository, IUnitOfWork unitOfWork, ITagsLinkRepository tagsLinkRepository, IMenuOptionRepository menuOptionRepository, IMenuProAddRepository menuProAddRepository, IMenuImageRepository menuImageRepository, IThietLapRepository thietLapRepository, ITuKhoaTimKiemRepository tuKhoaTimKiemRepository, IDanhSachTagRepository danhSachTagRepository, HttpContextBase httpContext, IKhoQuaTangRepository khoQuaTangRepository)
 {
     _menuRepository          = menuRepository;
     _unitOfWork              = unitOfWork;
     _tagsLinkRepository      = tagsLinkRepository;
     _menuOptionRepository    = menuOptionRepository;
     _menuProAddRepository    = menuProAddRepository;
     _menuImageRepository     = menuImageRepository;
     _thietLapRepository      = thietLapRepository;
     _tuKhoaTimKiemRepository = tuKhoaTimKiemRepository;
     _danhSachTagRepository   = danhSachTagRepository;
     _httpContext             = httpContext;
     _khoQuaTangRepository    = khoQuaTangRepository;
 }
コード例 #3
0
 public LyDoMuaBGController(IThietLapRepository thietLapRepository, IUnitOfWork unitOfWork)
 {
     _thietLapRepository = thietLapRepository;
     _unitOfWork         = unitOfWork;
 }