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