Пример #1
0
 public UserRepository(HeroesContext context)
 {
     _context = context;
     _sha256 = SHA256Managed.Create();
 }
Пример #2
0
 public CreaturesRepository(HeroesContext context)
 {
     _context = context;
 }
Пример #3
0
 public HeroesRepository(HeroesContext context)
 {
     _context = context;
 }
Пример #4
0
 public Repository()
 {
     _context = new HeroesContext();
     _context.Configuration.LazyLoadingEnabled = false;
 }