public BaseRepository(Pd2TradeApiDbContext db, IMapper mapper)
 {
     Db = db;
     EntityFrameworkManager.ContextFactory = context => Db;
     _mapper = mapper;
 }
Beispiel #2
0
 public ItemItemStatRepository(Pd2TradeApiDbContext db, IMapper mapper)
 {
     Db      = db;
     _mapper = mapper;
 }
Beispiel #3
0
 public ItemStatRepository(Pd2TradeApiDbContext db, IMapper mapper) : base(db, mapper)
 {
     EntityName = "ItemStat";
 }
Beispiel #4
0
 public RunewordRepository(Pd2TradeApiDbContext db, IMapper mapper) : base(db, mapper)
 {
     EntityName = "Runeword";
 }
 public TradeOfferRepository(Pd2TradeApiDbContext db, IMapper mapper) : base(db, mapper)
 {
     EntityName = "TradeOffer";
     _mapper    = mapper;
 }
 public SeasonRepository(Pd2TradeApiDbContext db, IMapper mapper) : base(db, mapper)
 {
     EntityName = "Item";
 }
 public UserRepository(UserManager <User> userManager, Pd2TradeApiDbContext db)
 {
     _userManager = userManager;
     _db          = db;
 }