public RepositoryBase(BidsAggregatorContext context) { if (context == null) { throw new ArgumentNullException(nameof(context)); } Context = context; }
public TempolaryInquiryUnitOfWork(BidsAggregatorContext context) { _context = context; Inquiries = new RepositoryBase <TempolaryInquiry>(context); Inquirers = new RepositoryBase <TempolaryInquirer>(context); }
public InquiryUnitOfWork(BidsAggregatorContext context) { _context = context; Inquiries = new RepositoryBase <Inquiry>(_context); Inquireres = new RepositoryBase <Inquirer>(_context); }