private static void EnsureDatabaseCreated(CarnivalContext context) { if (!_databaseChecked) { _databaseChecked = true; context.Database.EnsureCreated(); } }
public MaintenanceService(CarnivalContext context) { _context = context; }
public AccountService(CarnivalContext context, UserManager <User> userManager, SignInManager <User> signInManager) { _context = context; _userManager = userManager; _signInManager = signInManager; }
public CustomUserManager(IUserStore <User> store, IOptions <IdentityOptions> optionsAccessor, IPasswordHasher <User> passwordHasher, IEnumerable <IUserValidator <User> > userValidators, IEnumerable <IPasswordValidator <User> > passwordValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, IServiceProvider services, ILogger <UserManager <User> > logger, CarnivalContext context) : base(store, optionsAccessor, passwordHasher, userValidators, passwordValidators, keyNormalizer, errors, services, logger) { _context = context; }
public ProfileService(CarnivalContext context) { _context = context; }
public PostService(CarnivalContext context) { _context = context; }