Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public GetEventsResponse GetEvents(GetEventsData data)
 {
     return(Execute("GetEvents", () => ApiServiceInternal.GetEvents(data)));
 }
Exemplo n.º 3
0
 public GetEventsResponse GetEvents(GetEventsData data)
 {
     return(GetResponse <GetEventsResponse>());
 }