示例#1
0
 public MajorManagerApiTest()
 {
     _seed       = Guid.NewGuid().ToString();
     _controller = MockController.CreateApi <MajorManagerController>(new DataContext(_seed, DBTypeEnum.Memory), "user");
 }
 public TeacherInfoApiTest()
 {
     _seed       = Guid.NewGuid().ToString();
     _controller = MockController.CreateApi <TeacherInfoController>(new DataContext(_seed, DBTypeEnum.Memory), "user");
 }
 public DivisionApiTest()
 {
     _seed       = Guid.NewGuid().ToString();
     _controller = MockController.CreateApi <DivisionController>(new DataContext(_seed, DBTypeEnum.Memory), "user");
 }