예제 #1
0
 public ClassesFacade(IClassesApi classesApi, IGroupApi groupApi, ILecturerApi lecturerApi, ISubjectApi subjectApi)
 {
     _classesApi  = classesApi;
     _groupApi    = groupApi;
     _lecturerApi = lecturerApi;
     _subjectApi  = subjectApi;
 }
예제 #2
0
        public GroupService(string token)
        {
            _token  = token;
            _client = new HttpClient
            {
                BaseAddress = new Uri("http://80.78.240.16:5100/")
            };

            _httpGroupApi = RestService.For <IGroupApi>(_client);
        }
예제 #3
0
 public GroupApiController(IConfiguration configuration, ILogger <GroupApiController> logger, IGroupApi groupApi)
 {
     this._config     = configuration;
     this._logger     = logger;
     this._apiHandler = groupApi;
 }
 public GroupsFacade(IGroupApi groupApi)
 {
     _groupApi = groupApi;
 }
예제 #5
0
        public override void TestFixtureSetUp()
        {
            base.TestFixtureSetUp();

            groupApi = soundCloudClient.Group(settings.TestGroupId);
        }
 public StudentsFacade(IStudentApi studentApi, IGroupApi groupApi)
 {
     _studentApi = studentApi;
     _groupApi   = groupApi;
 }
        public override void TestFixtureSetUp()
        {
            base.TestFixtureSetUp();

            groupApi = soundCloudClient.Group(settings.TestGroupId);
        }