示例#1
0
 public AdminController(IGenomeService genomeService, RoleManager <IdentityRole> roleManager, UserManager <AuthorTestUser> userManager, AuthorDbContext authorDbContext, IHttpContextAccessor httpContextAccessor, SignInManager <AuthorTestUser> signInManager)
 {
     this.roleManager         = roleManager;
     this.userManager         = userManager;
     this.authorDbContext     = authorDbContext;
     this.httpContextAccessor = httpContextAccessor;
     this.signInManager       = signInManager;
     gsv = genomeService;
 }
示例#2
0
 public ResearcherController(IGenomeService genomeService, IFileService fileService, RoleManager <IdentityRole> roleManager, UserManager <AuthorTestUser> userManager, IHttpContextAccessor httpContextAccessor, AuthorDbContext authorDbContext, SignInManager <AuthorTestUser> signInManager, IConfiguration configuration)
 {
     this.roleManager         = roleManager;
     this.userManager         = userManager;
     this.httpContextAccessor = httpContextAccessor;
     this.authorDbContext     = authorDbContext;
     this.configuration       = configuration;
     gsv = genomeService;
     fsv = fileService;
 }
示例#3
0
 public IsMutantTest()
 {
     _genomeDomain = new GenomeService();
 }
 public MutantController(IGenomeService genomeService)
 {
     _genomeService = genomeService;
 }