コード例 #1
0
 public GameRepository(RiotContext context)
 {
     _context = context;
 }
コード例 #2
0
 public UserRepository(RiotContext context)
 {
     _context     = context;
     _userManager = new UserManager <ApplicationUser>(new UserStore <ApplicationUser>(_context));
 }