public DatabaseSeedService(BookSpaceContext ctx, RoleManager <IdentityRole> roleManager, UserManager <ApplicationUser> userManager, IBlobStorageService blobStorageService, IHttpService httpService, IFactory <ApplicationUser, UserCreateDto> userFactory) { this.ctx = ctx; this.roleManager = roleManager; this.userManager = userManager; this.blobStorageService = blobStorageService; this.httpService = httpService; this.userFactory = userFactory; this.rnd = new Random(); }
public DatabaseMigrateService(BookSpaceContext ctx) { this.ctx = ctx; }