示例#1
0
 public GroupController(UserManager <Models.User> userManager, PostItDb db)
 {
     context      = db;
     _userManager = userManager;
 }
示例#2
0
 public AdminController(UserManager <Models.User> userManager, RoleManager <IdentityRole> roleManager, PostItDb db)
 {
     context      = db;
     _userManager = userManager;
     _roleManager = roleManager;
 }
示例#3
0
 public PostController(UserManager <User> userManager, PostItDb db)
 {
     _userManager = userManager;
     context      = db;
 }