public SendMetricResponse SendMetric(Guid componentId, SendMetricData data) { var dataDto = DataConverter.GetSendMetricRequestDtoData(componentId, data); var request = new SendMetricRequestDto() { Data = dataDto, Token = GetAccessTokenDto() }; var responseDto = DtoService.SendMetric(request); var response = CreateResponse <SendMetricResponse>(responseDto); response.InternalData = DataConverter.GetMetricInfo(responseDto.Data); return(response); }