public AuthenticationService(Kibol_AlertContext context, SignInManager <User> signInManager, UserManager <User> userManager, IJwtHelper jwtHelper, ILoggerService logger) : base(context, logger) { _signInManager = signInManager; _userManager = userManager; _jwtHelper = jwtHelper; }
public LoggerService(Kibol_AlertContext context) { Context = context; }
public ContextBuilder() { builder = new DbContextOptionsBuilder <Kibol_AlertContext>().UseSqlServer("Server=tcp:kosa-czy-sztama.database.windows.net,1433;Initial Catalog=kosa-czy-sztama;Persist Security Info=False;User ID=kosa;Password=Qwer1234.;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;"); options = builder.Options; Context = new Kibol_AlertContext(options); }
public BrawlService(Kibol_AlertContext context, ILoggerService logger) : base(context, logger) { }
public JwtHelper(IOptions <AppSettings> appSettings, Kibol_AlertContext context) { _appSettings = appSettings.Value; _context = context; }
public ContextBuilder() { builder = new DbContextOptionsBuilder <Kibol_AlertContext>().UseInMemoryDatabase(databaseName: "Add_writes_to_database"); options = builder.Options; Context = new Kibol_AlertContext(options); }
public BaseService(Kibol_AlertContext context, ILoggerService logger) { Context = context; _logger = logger; }