Beispiel #1
0
 public ProductController(IAsyncCategoriRepo categoryRepository, IAsyncPruductRepo productRepository, IAsyncImageValue iimgeProduct_, IAsyncProductInfo ProductInfo_)
 {
     this.categoryRepository    = categoryRepository;
     this.productRepository     = productRepository;
     this.iimgeProduct          = iimgeProduct_;
     this.ProductInfoRepository = ProductInfo_;
 }
Beispiel #2
0
 public Product(IAsyncPruductRepo RepoPrc_, IMapper mapper, IAsyncCategoriRepo categoriRepo_, IAsyncProductInfo ProductInfoREPO_)
 {
     RepoPrc         = RepoPrc_;
     categoriRepo    = categoriRepo_;
     ProductInfoREPO = ProductInfoREPO_;
     _mapper         = mapper;
 }
Beispiel #3
0
 public ProductController(IAsyncPruductRepo RepoPrc_, IMapper mapper,
                          IAsyncCategoriRepo categoriRepo_, IAsyncProductInfo ProductInfoREPO_,
                          ILogDetails LogDetails)
 {
     RepoPrc         = RepoPrc_;
     categoriRepo    = categoriRepo_;
     ProductInfoREPO = ProductInfoREPO_;
     _mapper         = mapper;
     _LogDetails     = LogDetails;
 }
Beispiel #4
0
        public static MainPage GetInstance(IAsyncPruductRepo RepoPrc_, IMapper _mapper)
        {
            if (_instance == null)
            {
                //new MainPageSingleton();
                _instance = new MainPage()
                {
                    _Partial1 = _mapper.Map <List <Product>, List <productSingleImage> >
                                    ((RepoPrc_.GetProductmainPagev2("_Partial1")).ToList()),

                    _Partial2 = _mapper.Map <List <Product>, List <productSingleImage> >
                                    ((RepoPrc_.GetProductmainPagev2("_Partial2")).ToList()),

                    _Partial3 = _mapper.Map <List <Product>, List <productSingleImage> >
                                    ((RepoPrc_.GetProductmainPagev2("_Partial3")).ToList()),
                };
            }
            return(_instance);
        }
Beispiel #5
0
 public SearchViewComponent(IAsyncPruductRepo repo)
 {
     _prcRepo = repo;
 }
Beispiel #6
0
 public Categorie(IAsyncPruductRepo RepoPrc_)
 {
     RepoPrc = RepoPrc_;
 }
Beispiel #7
0
 public HomeController(IAsyncPruductRepo pruduct, IMapper _mapper1, ILogDetails logDetails)
 {
     _RepoPrc    = pruduct;
     _mapper     = _mapper1;
     _LogDetails = logDetails;
 }