public CommentsController(Logger logger, IProductMockRepository productRepository, IHttpContextAccessor contextAccessor, IMapper mapper, ICommentRepository commentRepository)
 {
     this.mapper            = mapper;
     this.contextAccessor   = contextAccessor;
     this.commentRepository = commentRepository;
     this.productRepository = productRepository;
     this.logger            = logger;
 }
示例#2
0
 public ReactionsController(ITypeOfReactionRepository typeOfReactionRepository, IHttpContextAccessor contextAccessor, IMapper mapper, IReactionRepository reactionRepository, IProductMockRepository productMockRepository, Logger logger)
 {
     this.reactionRepository    = reactionRepository;
     this.productMockRepository = productMockRepository;
     this.mapper                   = mapper;
     this.logger                   = logger;
     this.contextAccessor          = contextAccessor;
     this.typeOfReactionRepository = typeOfReactionRepository;
 }
示例#3
0
 public TransactionController(
     ITransactionRepository transactionRepository,
     IMapper mapper,
     IProductMockRepository productMockService,
     ITransportTypeMockRepository transportTypeMockService,
     LinkGenerator linkGenerator,
     IValidator <Transaction> transactionValidator,
     ILogger logger,
     IAccountMockRepository accountMockService,
     IUserMockRepository userMockService)
 {
     this.transactionRepository = transactionRepository;
     this.mapper                   = mapper;
     this.productMockService       = productMockService;
     this.transportTypeMockService = transportTypeMockService;
     this.linkGenerator            = linkGenerator;
     this.transactionValidator     = transactionValidator;
     this.logger                   = logger;
     this.accountMockService       = accountMockService;
     this.userMockService          = userMockService;
 }