예제 #1
0
 public IdentityInitializer(UserManager<IdentityUser> userMgr, RoleManager<IdentityRole> roleMgr,
     KhodamoozContext context, ILogger<IdentityInitializer> logger)
 {
     _userMgr = userMgr;
     _roleMgr = roleMgr;
     _context = context;
     _logger = logger;
 }
예제 #2
0
 public KhodamoozRepository(KhodamoozContext context)
 {
     _context = context;
 }