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