Beispiel #1
0
 public UserRepository(IONDBContext context) : base(context)
 {
     _context = context;
     _context.Users.Count();
     _context.Users.Add(new User {
         UserName = "******", Password = "******"
     });
     _context.SaveChangesAsync();
 }
Beispiel #2
0
 public Repository(IONDBContext context)
 {
     _context = context;
 }