public RoleWorker(FTArandaDBContext context) { // Dependency Injection this.context = context; }
public LoginWorker(FTArandaDBContext context, IOptions <CustomSettings> options) { // Dependency Injection this.context = context; customSettings = options.Value; }