예제 #1
0
 public SchemaDataService(FakeCsvDbContext dbContext,
                          ILogger <SchemaDataService> logger,
                          IWebHostEnvironment appEnvironment)
 {
     this.dbContext      = dbContext;
     this.logger         = logger;
     this.appEnvironment = appEnvironment;
 }
예제 #2
0
        public DataInitializer(

            IConfiguration configuration,
            FakeCsvDbContext context,
            ILogger <DataInitializer> logger,
            RoleManager <IdentityRole> roleManager)
        {
            this.configuration = configuration;
            this.context       = context;
            this.logger        = logger;
            this.roleManager   = roleManager;
        }