/// <summary>
 /// Initializes a new instance of the <see cref="CourseController"/> class.
 /// </summary>
 /// <param name="dataService">Service that provides data operations.</param>
 /// <param name="mapper">Map entities to one or another.</param>
 public CourseController(IGenericServiceV2 dataService, IManyToManyMapperService <Course, CourseModule, Module> mapper)
 {
     this.dataService = dataService;
     this.mapper      = mapper;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GoalController"/> class.
 /// </summary>
 /// <param name="dataService">Service that provides data operations.</param>
 public GoalController(IGenericServiceV2 dataService)
 {
     this.dataService = dataService;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LogItemController"/> class.
 /// </summary>
 /// <param name="dataService">Service that provides data operations.</param>
 public LogItemController(IGenericServiceV2 dataService)
 {
     this.dataService = dataService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ModuleController"/> class.
 /// </summary>
 /// <param name="dataService">Service that provides data operations.</param>
 public ModuleController(IGenericServiceV2 dataService)
 {
     this.dataService = dataService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ExamProgramController"/> class.
 /// </summary>
 /// <param name="dataService">Service that provides data operations.</param>
 public ExamProgramController(IGenericServiceV2 dataService)
 {
     this.dataService = dataService;
 }
Example #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TeacherController"/> class.
 /// </summary>
 /// <param name="dataService">Service that provides data operations.</param>
 public TeacherController(IGenericServiceV2 dataService)
 {
     this.dataService = dataService;
 }