public OrderService(IRepository <Order> repository, IUnitOfWork unitOfWork, TempusHiringDbContext context, IMapper mapper) : base(repository, unitOfWork, mapper) { _context = context; _mapper = mapper; }
public Repository(TempusHiringDbContext context) { _context = context; _set = _context.Set <TSource>(); }
public CatalogService(TempusHiringDbContext context, IMapper mapper) { _context = context; _mapper = mapper; _priceRange ??= GetWatchesPriceRange(); }
public UnitOfWork(TempusHiringDbContext dbContext) { DbContext = dbContext; }
public ShoppingCartService(TempusHiringDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }