public ServiceWishClient(IRepositoryWishClient repositoryWishClient, IRepositoryProduct repositoryProduct, IRepositoryClient repositoryClient) : base(repositoryWishClient) { _repositoryWishClient = repositoryWishClient; _repositoryProduct = repositoryProduct; _repositoryClient = repositoryClient; }
// 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; }
public ServiceProduct(IRepositoryProduct repositoryProduct, IUnitOfWork unitOfWork, INotifier notifier, IRepositoryProductItem repositoryProductItem) : base(notifier) { _repositoryProduct = repositoryProduct; _unitOfWork = unitOfWork; _repositoryProductItem = repositoryProductItem; }
public void SetUp() { this.InitializeProduct(); this.productRepository = A.Fake <IRepositoryProduct>(); this.userRepository = A.Fake <IRepositoryUser>(); this.productService = new ProductServices(this.productRepository, this.userRepository); }
public ServiceProduct(IRepositoryProduct service, IUnitOfWork unitofwork) : base(unitofwork) { if (null == service) { throw new ArgumentNullException("service"); } _service = service; }
public ProductController(IRepositoryProduct repo) { _repo = repo; }
public ProductsController(IRepositoryProduct productRepository) { _productRepository = productRepository; }
public RepositoryProductBL(IRepositoryProduct repositoryProduct) { iRepositoryProduct = repositoryProduct; mapProducts = new Mapper <Tbl_Products, Products>(); }
public AdminController(IRepositoryProduct repositoryProduct) { this.repositoryProduct = repositoryProduct; }
public FilterController(IRepositoryProduct productRepository, IRepositoryCategory cat) { _productRepository = productRepository; _cartegoryRepository = cat; }
public ServiceProduct(IRepositoryProduct repositoryProduct) : base(repositoryProduct) { }
public UseCaseCrudProduct(IRepositoryProduct repository) : base(repository) { }
public ProductService(IRepositoryProduct productRepository, IRepositoryVendor vendorRepository) { ProductRepository = productRepository; VendorRepository = vendorRepository; }
/// <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; }
public ServiceProduct(IRepositoryProduct RepositoryProduct) : base(RepositoryProduct) { _repositoryProduct = RepositoryProduct; }
public ProductController(IRepositoryProduct repository) { _repository = repository; }
public ServiceProduct(IRepositoryProduct repositoryProduct) : base(repositoryProduct) { this.repositoryProduct = repositoryProduct; }
public ProductController(IRepositoryProduct repositoryProduct, IRepository repository) { this._repositoryProduct = repositoryProduct; this._repository = repository; }
public ProductService(IRepositoryProduct repositoryProduct, IMapper mapper) { _repositoryProduct = repositoryProduct; _mapper = mapper; }
public ServiceProduto(IRepositoryProduct sisRepository) : base(sisRepository) { _sisRepository = sisRepository; }