public ClientCommentService(IUnitOfWork unitOfWork, IApplicationUserRepository applicationUserRepository,
                             ICommentRepository commentRepository, IProductRankRepository productRankRepository,
                             IMapper mapper)
 {
     this._unitOfWork = unitOfWork;
     this._applicationUserRepository = applicationUserRepository;
     this._commentRepository         = commentRepository;
     this._productRankRepository     = productRankRepository;
     this._mapper = mapper;
 }
 public AdminProductService(IUnitOfWork unitOfWork, IProductRepository productRepository, ICategoryRepository categoryRepository
                            , IDiscountRepository discountRepository, IAuthorDetailRepository authorDetailRepository
                            , IProductRankRepository productRankRepository, IMapper mapper)
 {
     _unitOfWork             = unitOfWork;
     _productRepository      = productRepository;
     _categoryRepository     = categoryRepository;
     _discountRepository     = discountRepository;
     _authorDetailRepository = authorDetailRepository;
     _productRankRepository  = productRankRepository;
     _mapper = mapper;
 }
Exemple #3
0
 public AdminOrderService(IUnitOfWork unitOfWork, IOrderRepository orderRepository, IOrderDetailRepository orderDetailRepository,
                          IIdentityRoleRepository identityRoleRepository, IApplicationUserRepository applicationUserRepository,
                          IProductRankRepository productRankRepository, IMapper mapper)
 {
     this._unitOfWork                = unitOfWork;
     this._orderRepository           = orderRepository;
     this._orderDetailRepository     = orderDetailRepository;
     this._identityRoleRepository    = identityRoleRepository;
     this._applicationUserRepository = applicationUserRepository;
     this._productRankRepository     = productRankRepository;
     this._mapper = mapper;
 }
 public ClientOrderService(IUnitOfWork unitOfWork, IProductRepository productRepository, IDiscountRepository discountRepository,
                           IOrderRepository orderRepository, IOrderDetailRepository orderDetailRepository,
                           IApplicationUserRepository applicationUserRepository, IProductRankRepository productRankRepository, IMapper mapper)
 {
     this._unitOfWork                = unitOfWork;
     this._productRepository         = productRepository;
     this._discountRepository        = discountRepository;
     this._orderRepository           = orderRepository;
     this._orderDetailRepository     = orderDetailRepository;
     this._applicationUserRepository = applicationUserRepository;
     this._productRankRepository     = productRankRepository;
     this._mapper = mapper;
 }