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; }
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); }
public CreateModel(INoteClient noteClient) { _noteClient = noteClient; }
public DetailsModel(INoteClient noteClient) { _noteClient = noteClient; }
public EditModel(INoteClient noteClient) { _noteClient = noteClient; }
public IndexModel(INoteClient noteClient) { _noteClient = noteClient; }
public DeleteModel(INoteClient noteClient) { _noteClient = noteClient; }