Example #1
0
        public GetEventsResponse GetEvents(GetEventsData data)
        {
            var dataDto = DataConverter.GetEventsRequestDtoData(data);
            var request = new GetEventsRequestDto
            {
                Data  = dataDto,
                Token = GetAccessTokenDto()
            };
            var responseDto = DtoService.GetEvents(request);
            var response    = CreateResponse <GetEventsResponse>(responseDto);

            response.InternalData = DataConverter.GetEventInfoList(responseDto.Data);
            return(response);
        }
 public GetEventsResponse GetEvents(GetEventsData data)
 {
     return(Execute("GetEvents", () => ApiServiceInternal.GetEvents(data)));
 }
Example #3
0
 public GetEventsResponse GetEvents(GetEventsData data)
 {
     return(GetResponse <GetEventsResponse>());
 }