public AddFlagModel(UserManager <Employee> userManager, RoleManager <EmployeeRole> roleManager, FeatureFlagRepository flags) { this.userManager = userManager; this.roleManager = roleManager; this.flags = flags; }
public void TestInitialize() { config = new Config(); dbContext = new QuizEngineDataContext(config.ConnectionString); featureFlagRepository = new FeatureFlagRepository(dbContext, null); }
public FlagController(IDistributedCache cache, FeatureFlagRepository flags) { this.cache = cache; this.flags = flags; this.jsonSerializerSettings = new JsonSerializerSettings { ContractResolver = new CamelCasePropertyNamesContractResolver() }; }