public FestivalController(IFestivalRepository festivalRepository, ILogger <FestivalController> logger, IMapper mapper, IPCRepository pCRepository)
 {
     _festivalrepo   = festivalRepository;
     _logger         = logger;
     _mapper         = mapper;
     _productcatrepo = pCRepository;
 }
 public BrandsController(ILogger <BrandsController> logger, IPCRepository categories, IPublicMethodRepsoitory <BrandModel> brandrepo, IPublicMethodRepsoitory <ProductModel> productrepo)
 {
     _logger      = logger;
     _brandrepo   = brandrepo;
     _productrepo = productrepo;
     _categories  = categories;
 }
 public CompareController(IPublicMethodRepsoitory <ProductModel> productrepo, IPCRepository categories, IPublicMethodRepsoitory <BrandModel> brandrepo, IViewRenderer viewRenderer)
 {
     _productrepo  = productrepo;
     _categories   = categories;
     _brandrepo    = brandrepo;
     _viewRenderer = viewRenderer;
 }
 public CategoryController(IMapper mapper, IPCRepository repository, IPublicMethodRepsoitory <AttributeModel> attrrepository, IPublicMethodRepsoitory <CatAttrRelationModel> catattrrepository, IPublicMethodRepsoitory <AttrAnswerModel> attranswerrepository)
 {
     this._repository           = repository;
     this._attrrepository       = attrrepository;
     this._catattrrepository    = catattrrepository;
     this._attranswerrepository = attranswerrepository;
     this._mapper = mapper;
 }
Exemple #5
0
 public BlogController(IPublicMethodRepsoitory <NoticesCategoryModel> categoryrepo, IPublicMethodRepsoitory <NoticesModel> noticesrepo, IRateRepository rateRepository, ICommentRepository commentRepository, IPublicMethodRepsoitory <DynamicPagesContent> DynamicPageRepository, IPCRepository categories)
 {
     _categoryrepo          = categoryrepo;
     _noticesrepo           = noticesrepo;
     _rateRepository        = rateRepository;
     _DynamicPageRepository = DynamicPageRepository;
     _commentRepository     = commentRepository;
     _categories            = categories;
 }
Exemple #6
0
 public ProductController(ILogger <ProductController> logger, IPublicMethodRepsoitory <ManufacturContryModel> cuntry, IPublicMethodRepsoitory <AttributeModel> attrrepo, IPublicMethodRepsoitory <CatAttrRelationModel> catattrrepo, IPublicMethodRepsoitory <AttrAnswerModel> attransrepo, IPublicMethodRepsoitory <ProductModel> productrepo, IPCRepository categories, IViewRenderer view, IPublicMethodRepsoitory <BrandModel> brandrepo, IPublicMethodRepsoitory <ProductCombineModel> combine, IFavoriteRepository favoritrepostory)
 {
     _logger           = logger;
     _productrepo      = productrepo;
     _categories       = categories;
     _viewRenderer     = view;
     _brandrepo        = brandrepo;
     _attrrepo         = attrrepo;
     _catattrrepo      = catattrrepo;
     _attransrepo      = attransrepo;
     _Cuntry           = cuntry;
     _Combine          = combine;
     _favoritrepostory = favoritrepostory;
 }
 public TrainingRepository(BarayandContext context, IPCRepository pCRepository) : base(context)
 {
     this._context      = context;
     this._pCRepository = pCRepository;
 }
Exemple #8
0
 public void TestMethod1()
 {
     _pcRep = A.Fake <IPCRepository>();
 }
 public ProductRepository(BarayandContext context, IPCRepository pCRepository, IPCalcRepository priceCalculator) : base(context)
 {
     this._context      = context;
     this._pCRepository = pCRepository;
     _priceCalculator   = priceCalculator;
 }
Exemple #10
0
 public SearchController(IPublicMethodRepsoitory <ProductModel> productrepo, IPublicMethodRepsoitory <BrandModel> brandrepo, IPCRepository categories)
 {
     _productrepo = productrepo;
     _brandrepo   = brandrepo;
     _categories  = categories;
 }
 public PCController(IPCRepository _repo)
 {
     this._repo = _repo;
 }
Exemple #12
0
 public PCService(IPCRepository rep)
 {
     _rep = rep;
 }