public InstructorsServiceEditCourseTests() { this.db = new CoursesP2PDbContext(MemoryDatabase.OptionBuilder()); this.instructorsService = new InstructorsService(db, null); }
public InstructorsController(InstructorsService instructorsService) { _instructorsService = instructorsService; }
public InstructorsServiceGetCreatedCoursesTests() { AutoMapperConfig.RegisterMappings(typeof(ErrorViewModel).GetTypeInfo().Assembly); this.db = new CoursesP2PDbContext(MemoryDatabase.OptionBuilder()); this.instructorsService = new InstructorsService(db, null); }