예제 #1
0
 public BidRepository(ScopicContext context, IMapper mapper, IEmailService emailService, IHubContext <BidHub> bidHubContext)
 {
     _context       = context;
     _mapper        = mapper;
     _emailService  = emailService;
     _bidHubContext = bidHubContext;
 }
예제 #2
0
 public ProductRepository(ScopicContext context, IMapper mapper, AppSettings appSettings, IEmailService emailService, IHubContext <ProductHub> productHub)
 {
     _context        = context;
     _mapper         = mapper;
     _appSettings    = appSettings;
     _emailService   = emailService;
     _productHub     = productHub;
     _S3UploadeImage = new S3UploadImage(appSettings);
 }
예제 #3
0
 public UserRepository(ScopicContext context, IMapper mapper)
 {
     _mapper  = mapper;
     _context = context;
 }