public TypeOfReactionController(ITypeOfReactionRepository typeOfReactionRepository, IMapper mapper, Logger logger, IHttpContextAccessor contextAccessor)
 {
     this.typeOfReactionRepository = typeOfReactionRepository;
     this.mapper          = mapper;
     this.logger          = logger;
     this.contextAccessor = contextAccessor;
 }
コード例 #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;
 }