Ejemplo n.º 1
0
 public CourseController(IStudentCourseClient sclient, IAttendanceClient aclient, INoteClient nclient, IGradeClient gclient, ICLOClient cclient)
 {
     this.sclient = sclient;
     this.aclient = aclient;
     this.nclient = nclient;
     this.gclient = gclient;
     this.cclient = cclient;
 }
Ejemplo n.º 2
0
        public CourseController()
        {
            var contextWrapper = new TokenContainer();
            var httpclient     = HttpClientInstance.Instance;

            httpclient = GlobalURL.AddHeader(httpclient);
            var apiClient = new ApiClient(httpclient, contextWrapper);

            sclient    = new StudentCourseClient(apiClient);
            aclient    = new AttendanceClient(apiClient);
            nclient    = new NoteClient(apiClient);
            gclient    = new GradeClient(apiClient);
            cclient    = new CLOClient(apiClient);
            statclient = new StatisticsClient(apiClient);
        }
Ejemplo n.º 3
0
 public CreateModel(INoteClient noteClient)
 {
     _noteClient = noteClient;
 }
Ejemplo n.º 4
0
 public DetailsModel(INoteClient noteClient)
 {
     _noteClient = noteClient;
 }
Ejemplo n.º 5
0
 public EditModel(INoteClient noteClient)
 {
     _noteClient = noteClient;
 }
Ejemplo n.º 6
0
 public IndexModel(INoteClient noteClient)
 {
     _noteClient = noteClient;
 }
Ejemplo n.º 7
0
 public DeleteModel(INoteClient noteClient)
 {
     _noteClient = noteClient;
 }