コード例 #1
0
ファイル: UnitOfWork.cs プロジェクト: bogdaner2/CryptoBOT
 public UnitOfWork(CryptoTrackerDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
コード例 #2
0
 public SubscriptionRepository(CryptoTrackerDbContext context, IMapper mapper) : base(context, mapper)
 {
 }
コード例 #3
0
 public GenericRepository(CryptoTrackerDbContext context, IMapper automapper)
 {
     Context = context;
     DbSet   = Context.Set <TEntity>();
     mapper  = automapper;
 }
コード例 #4
0
 public CryptoMarketRepository(CryptoTrackerDbContext context, IMapper mapper) : base(context, mapper)
 {
 }