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); }
public UpdateComponentTypeResponse UpdateComponentType(UpdateComponentTypeData data) { return(Execute("UpdateComponentType", () => ApiServiceInternal.UpdateComponentType(data))); }
public UpdateComponentTypeResponse UpdateComponentType(UpdateComponentTypeData data) { return(GetResponse <UpdateComponentTypeResponse>()); }