예제 #1
0
        public UpdateComponentTypeResponse UpdateComponentType(UpdateComponentTypeData data)
        {
            var dataDto = DataConverter.GetUpdateComponentTypeRequestDtoData(data);
            var request = new UpdateComponentTypeRequestDto
            {
                Data  = dataDto,
                Token = GetAccessTokenDto()
            };
            var responseDto = DtoService.UpdateComponentType(request);
            var response    = CreateResponse <UpdateComponentTypeResponse>(responseDto);

            response.InternalData = DataConverter.GetComponentTypeInfo(responseDto.Data);
            return(response);
        }
예제 #2
0
 public UpdateComponentTypeResponse UpdateComponentType(UpdateComponentTypeData data)
 {
     return(Execute("UpdateComponentType", () => ApiServiceInternal.UpdateComponentType(data)));
 }
예제 #3
0
 public UpdateComponentTypeResponse UpdateComponentType(UpdateComponentTypeData data)
 {
     return(GetResponse <UpdateComponentTypeResponse>());
 }