示例#1
0
 public UserRolesController(
     ApplicationDbContext context,
     IHeimdallRolesService rolesService,
     UserManager <HeimdallUser> userManager)
 {
     this.userManager  = userManager;
     this.context      = context;
     this.RolesService = rolesService;
     this.userManager  = userManager;
 }
 public ProjectsController(
     ApplicationDbContext context,
     IHeimdallProjectService projectService,
     UserManager <HeimdallUser> userManager,
     IHeimdallAccessService accessService,
     IHeimdallRolesService rolesService)
 {
     this.context                = context;
     this.projectService         = projectService;
     this.heimdallProjectService = projectService;
     this.userManager            = userManager;
     this.accessService          = accessService;
     this.rolesService           = rolesService;
 }