public GetLectureBindingModelWithCourseIdTests() { this.db = new CoursesP2PDbContext(MemoryDatabase.OptionBuilder()); this.lecturesService = new LecturesService(this.db); }
public AdminServiceGetUsersTests() { AutoMapperConfig.RegisterMappings(typeof(ErrorViewModel).GetTypeInfo().Assembly); this.db = new CoursesP2PDbContext(MemoryDatabase.OptionBuilder()); this.adminService = new AdminService(db); }
public FiveStarsViewComponent(CoursesP2PDbContext db) { this.db = db; }
public StudentsServiceGetMyCoursesAsyncTests() { this.db = new CoursesP2PDbContext(MemoryDatabase.OptionBuilder()); this.studentsService = new StudentsService(this.db); }
public LecturesService(CoursesP2PDbContext db) { this.db = db; }
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); }
public InstructorsService(CoursesP2PDbContext db, IAzureStorageBlobService azureStorageBlobService) { this.db = db; this.azureStorageBlobService = azureStorageBlobService; }
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); }
public InstructorsServiceGetCreatedCoursesTests() { AutoMapperConfig.RegisterMappings(typeof(ErrorViewModel).GetTypeInfo().Assembly); this.db = new CoursesP2PDbContext(MemoryDatabase.OptionBuilder()); this.instructorsService = new InstructorsService(db, null); }
public StudentsService(CoursesP2PDbContext db) { this.db = db; }
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); }