Example #1
0
 public BidRepository(ScopicContext context, IMapper mapper, IEmailService emailService, IHubContext <BidHub> bidHubContext)
 {
     _context       = context;
     _mapper        = mapper;
     _emailService  = emailService;
     _bidHubContext = bidHubContext;
 }
Example #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);
 }
Example #3
0
 public UserRepository(ScopicContext context, IMapper mapper)
 {
     _mapper  = mapper;
     _context = context;
 }