public ProductController(IRepository <Product> _productServices,
                          IRepository <Category> _categoryServices, IProductViewRepository _productViewDataServices)
 {
     this._productServices         = _productServices;
     this._categoryServices        = _categoryServices;
     this._productViewDataServices = _productViewDataServices;
 }
Example #2
0
 public SalesViewsController(ISalesViewRepository salesViewRepository,
                             IClientViewRepository clientViewRepository, IManagerViewRepository managerViewRepository,
                             IProductViewRepository productViewRepository)
 {
     _salesViewRepository   = salesViewRepository;
     _clientViewRepository  = clientViewRepository;
     _productViewRepository = productViewRepository;
     _managerViewRepository = managerViewRepository;
 }
Example #3
0
 public ProductViewAppService(
     IProductViewCacheKeyProvider productViewCacheKeyProvider,
     IDistributedCache <ProductViewCacheItem> cache,
     IProductAppService productAppService,
     IProductViewRepository repository) : base(repository)
 {
     _productViewCacheKeyProvider = productViewCacheKeyProvider;
     _cache             = cache;
     _productAppService = productAppService;
     _repository        = repository;
 }
 public ProductViewService(IProductViewRepository iProductViewRepository)
 {
     this._iProductViewRepository = iProductViewRepository;
 }
 public ProductViewsController(IProductViewRepository productViewRepository)
 {
     _productViewRepository = productViewRepository;
 }
 public ProductViewBusiness(IProductViewRepository productViewRepository)
 {
     _productViewRepository = productViewRepository;
 }