예제 #1
0
 public ServiceWishClient(IRepositoryWishClient repositoryWishClient, IRepositoryProduct repositoryProduct, IRepositoryClient repositoryClient)
     : base(repositoryWishClient)
 {
     _repositoryWishClient = repositoryWishClient;
     _repositoryProduct    = repositoryProduct;
     _repositoryClient     = repositoryClient;
 }
예제 #2
0
        // private readonly IMSDbContext _iMSDbContext;
        public ProductController(IRepositoryProduct <Product> efCoreRepositoryProduct, IRepositoryProduct <ProductGroup> efCoreRepositoryProductGroup, IRepositoryProduct <ProductSubGroup> efCoreRepositoryProductSubGroup)
        {
            this._efCoreRepositoryProduct         = efCoreRepositoryProduct;
            this._efCoreRepositoryProductGroup    = efCoreRepositoryProductGroup;
            this._efCoreRepositoryProductSubGroup = efCoreRepositoryProductSubGroup;

            /// this._iMSDbContext = iMSDbContext;
        }
예제 #3
0
 public ServiceProduct(IRepositoryProduct repositoryProduct,
                       IUnitOfWork unitOfWork,
                       INotifier notifier,
                       IRepositoryProductItem repositoryProductItem) : base(notifier)
 {
     _repositoryProduct     = repositoryProduct;
     _unitOfWork            = unitOfWork;
     _repositoryProductItem = repositoryProductItem;
 }
예제 #4
0
        public void SetUp()
        {
            this.InitializeProduct();

            this.productRepository = A.Fake <IRepositoryProduct>();
            this.userRepository    = A.Fake <IRepositoryUser>();

            this.productService = new ProductServices(this.productRepository, this.userRepository);
        }
예제 #5
0
        public ServiceProduct(IRepositoryProduct service, IUnitOfWork unitofwork)
            : base(unitofwork)
        {
            if (null == service)
            {
                throw new ArgumentNullException("service");
            }

            _service = service;
        }
예제 #6
0
 public ProductController(IRepositoryProduct repo)
 {
     _repo = repo;
 }
 public ProductsController(IRepositoryProduct productRepository)
 {
     _productRepository = productRepository;
 }
예제 #8
0
 public RepositoryProductBL(IRepositoryProduct repositoryProduct)
 {
     iRepositoryProduct = repositoryProduct;
     mapProducts        = new Mapper <Tbl_Products, Products>();
 }
예제 #9
0
 public AdminController(IRepositoryProduct repositoryProduct)
 {
     this.repositoryProduct = repositoryProduct;
 }
예제 #10
0
 public FilterController(IRepositoryProduct productRepository, IRepositoryCategory cat)
 {
     _productRepository   = productRepository;
     _cartegoryRepository = cat;
 }
예제 #11
0
 public ServiceProduct(IRepositoryProduct repositoryProduct) : base(repositoryProduct)
 {
 }
 public UseCaseCrudProduct(IRepositoryProduct repository) : base(repository)
 {
 }
예제 #13
0
 public ProductService(IRepositoryProduct productRepository, IRepositoryVendor vendorRepository)
 {
     ProductRepository = productRepository;
     VendorRepository  = vendorRepository;
 }
예제 #14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProductServices" /> class.
 /// </summary>
 /// <param name="productRepository">The product repository.</param>
 /// <param name="userRepository">The user repository.</param>
 public ProductServices(IRepositoryProduct productRepository, IRepositoryUser userRepository)
 {
     this.repository     = productRepository;
     this.userRepository = userRepository;
     this.validator      = new ProductValidator();
 }
 public Business(IRepositoryProduct irepProd, IRepositoryCustomerOrder irepCust)
 {
     _irepProducts  = irepProd;
     _irepCustomers = irepCust;
 }
 public Business()
 {
     _irepProducts  = new Repository() as IRepositoryProduct;
     _irepCustomers = new Repository() as IRepositoryCustomerOrder;
 }
예제 #17
0
 public ServiceProduct(IRepositoryProduct RepositoryProduct)
     : base(RepositoryProduct)
 {
     _repositoryProduct = RepositoryProduct;
 }
예제 #18
0
 public ProductController(IRepositoryProduct repository)
 {
     _repository = repository;
 }
예제 #19
0
 public ServiceProduct(IRepositoryProduct repositoryProduct)
     : base(repositoryProduct)
 {
     this.repositoryProduct = repositoryProduct;
 }
예제 #20
0
 public ProductController(IRepositoryProduct repositoryProduct, IRepository repository)
 {
     this._repositoryProduct = repositoryProduct;
     this._repository        = repository;
 }
예제 #21
0
 public ProductService(IRepositoryProduct repositoryProduct, IMapper mapper)
 {
     _repositoryProduct = repositoryProduct;
     _mapper            = mapper;
 }
예제 #22
0
 public ServiceProduto(IRepositoryProduct sisRepository) : base(sisRepository)
 {
     _sisRepository = sisRepository;
 }