public GetLectureBindingModelWithCourseIdTests()
 {
     this.db = new CoursesP2PDbContext(MemoryDatabase.OptionBuilder());
     this.lecturesService = new LecturesService(this.db);
 }
Ejemplo n.º 2
0
 public AdminServiceGetUsersTests()
 {
     AutoMapperConfig.RegisterMappings(typeof(ErrorViewModel).GetTypeInfo().Assembly);
     this.db           = new CoursesP2PDbContext(MemoryDatabase.OptionBuilder());
     this.adminService = new AdminService(db);
 }
Ejemplo n.º 3
0
 public FiveStarsViewComponent(CoursesP2PDbContext db)
 {
     this.db = db;
 }
 public StudentsServiceGetMyCoursesAsyncTests()
 {
     this.db = new CoursesP2PDbContext(MemoryDatabase.OptionBuilder());
     this.studentsService = new StudentsService(this.db);
 }
Ejemplo n.º 5
0
 public LecturesService(CoursesP2PDbContext db)
 {
     this.db = db;
 }
Ejemplo n.º 6
0
 public CoursesServiceCreateAsyncTests()
 {
     this.db             = new CoursesP2PDbContext(MemoryDatabase.OptionBuilder());
     this.coursesService = new CoursesService(this.db);
 }
        public LecturesServiceGetLecturesByCourseIdAsyncTests()
        {
            this.db = new CoursesP2PDbContext(MemoryDatabase.OptionBuilder());

            this.lecturesService = new LecturesService(this.db);
        }
Ejemplo n.º 8
0
 public InstructorsService(CoursesP2PDbContext db, IAzureStorageBlobService azureStorageBlobService)
 {
     this.db = db;
     this.azureStorageBlobService = azureStorageBlobService;
 }
Ejemplo n.º 9
0
 public AdminService(CoursesP2PDbContext db)
 {
     this.db = db;
 }
 public CoursesServiceGetCoursesByCategoryTests()
 {
     AutoMapperConfig.RegisterMappings(typeof(ErrorViewModel).GetTypeInfo().Assembly);
     this.db             = new CoursesP2PDbContext(MemoryDatabase.OptionBuilder());
     this.coursesService = new CoursesService(this.db);
 }
 public InstructorsServiceEditCourseTests()
 {
     this.db = new CoursesP2PDbContext(MemoryDatabase.OptionBuilder());
     this.instructorsService = new InstructorsService(db, null);
 }
Ejemplo n.º 12
0
 public InstructorsServiceGetCreatedCoursesTests()
 {
     AutoMapperConfig.RegisterMappings(typeof(ErrorViewModel).GetTypeInfo().Assembly);
     this.db = new CoursesP2PDbContext(MemoryDatabase.OptionBuilder());
     this.instructorsService = new InstructorsService(db, null);
 }
Ejemplo n.º 13
0
 public StudentsService(CoursesP2PDbContext db)
 {
     this.db = db;
 }
Ejemplo n.º 14
0
 public ReviewService(CoursesP2PDbContext db)
 {
     this.db = db;
 }
 public HomeAllInfoViewComponent(CoursesP2PDbContext db)
 {
     this.db = db;
 }
 public AdminServiceGetEnrolledCoursesByUserIdTests()
 {
     this.db           = new CoursesP2PDbContext(MemoryDatabase.OptionBuilder());
     this.adminService = new AdminService(db);
 }