コード例 #1
0
 public CartService(IUnitOfWork unitOfWork, IRepository <Cart, ObjectId> repository) : base(unitOfWork,
                                                                                            repository)
 {
     _productSkuRepository = Repository <IProductSkuRepository>();
 }
コード例 #2
0
 public ProductSkuServices(IProductSkuRepository repository)
 {
     this.repository = repository;
     baseRepository  = repository;
 }
コード例 #3
0
 public ProductSkuService(IUnitOfWork unitOfWork, IRepository <ProductSku, long> repository) : base(unitOfWork,
                                                                                                    repository)
 {
     _productSkuRepository = Repository <IProductSkuRepository>();
 }
コード例 #4
0
ファイル: ProductService.cs プロジェクト: goobai/vmall.server
 public ProductService(IProductSkuRepository skuRepository, IProductSpuRepository spuRepository, ISaleSpecRepository saleSpecRepository)
 {
     _skuRepository      = skuRepository;
     _spuRepository      = spuRepository;
     _saleSpecRepository = saleSpecRepository;
 }