public static void IntializerConfig(this ITestSystemDbContext context) { context.TestStatuses.SeedEnumValues <TestStatus, TestStatusEnum>(e => new TestStatus(e)); context.QuestionTypes.SeedEnumValues <QuestionType, QuestionTypeEnum>(e => new QuestionType(e)); }
public TestSystemServiceProxy(ITestSystemDbContext context) { this.service = new TestSystemService(context); }
public TestSystemService(ITestSystemDbContext context) { this.context = context; }