예제 #1
0
        public GioHangController(IDonHangRepository repository, IMobileShopRepository shopRepo, ISanPhamRepository sp)

        {
            _repository        = repository;
            _shopRepo          = shopRepo;
            _sanPhamRepository = sp;
        }
예제 #2
0
 public SanPhamController(IMobileShopRepository shopRepo, ISanPhamService sanPhamService, IThongSoKiThuatService thongSoKiThuatService)
 {
     _shopRepo              = shopRepo;
     _sanPhamService        = sanPhamService;
     _thongSoKiThuatService = thongSoKiThuatService;
 }
 public SanPhamTheoGiaViewComponent(IMobileShopRepository _context)
 {
     context = _context;
 }
예제 #4
0
 public TraLoiBinhLuanViewComponent(IMobileShopRepository _context)
 {
     context = _context;
 }
예제 #5
0
 public HomeController(ClientDbContext context, IMobileShopRepository shopRepo)
 {
     _context   = context;
     dataAccess = new DataAccess();
     _shopRepo  = shopRepo;
 }
예제 #6
0
 public SanPhamNoiBatViewComponent(IMobileShopRepository context, ISanPhamRepository _sp)
 {
     _context           = context;
     _sanPhamRepository = _sp;
 }
예제 #7
0
 public CheckoutInfoViewComponent(IMobileShopRepository _context)
 {
     context = _context;
 }