public QuoteStatusRequestQuery(IUnitOfWork unitOfWork) { _context = unitOfWork.Context() as QuotingDbContext; }
public QuoteRepository(IUnitOfWork unitOfWork) { _unitOfWork = unitOfWork; _context = _unitOfWork.Context() as QuotingDbContext ?? throw new ArgumentException($"Expected context {typeof(QuotingDbContext).Name}"); }
public CustomerRepository(IUnitOfWork context) { _context = context.Context() as QuotingDbContext ?? throw new ArgumentException($"Expected context {typeof(QuotingDbContext).Name}"); }
public BasePriceRulesAppliableToVehicleQuery(IUnitOfWork unitOfWork) { _context = unitOfWork.Context() as QuotingDbContext; }
public PriceModifierRulesAppliableToCustomerQuery(IUnitOfWork unitOfWork) { _context = unitOfWork.Context() as QuotingDbContext; }
public QuoteInformationRequestQuery(IUnitOfWork unitOfWork) { _context = unitOfWork.Context() as QuotingDbContext; }
public DbSeed(QuotingDbContext context) { _context = context; }