Beispiel #1
0
 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));
 }
Beispiel #2
0
 public TestSystemServiceProxy(ITestSystemDbContext context)
 {
     this.service = new TestSystemService(context);
 }
 public TestSystemService(ITestSystemDbContext context)
 {
     this.context = context;
 }