public UnitOfWork(CryptoTrackerDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public SubscriptionRepository(CryptoTrackerDbContext context, IMapper mapper) : base(context, mapper) { }
public GenericRepository(CryptoTrackerDbContext context, IMapper automapper) { Context = context; DbSet = Context.Set <TEntity>(); mapper = automapper; }
public CryptoMarketRepository(CryptoTrackerDbContext context, IMapper mapper) : base(context, mapper) { }