コード例 #1
0
ファイル: UserRepository.cs プロジェクト: modrek/i-Back
 public UserRepository(IONDBContext context) : base(context)
 {
     _context = context;
     _context.Users.Count();
     _context.Users.Add(new User {
         UserName = "******", Password = "******"
     });
     _context.SaveChangesAsync();
 }
コード例 #2
0
 public Repository(IONDBContext context)
 {
     _context = context;
 }