public async Task <ContractModels.SecondaryObject> UpdateAsync(Guid id, ViewModels.SecondaryObject inputModel)
        {
            var contractModel = new ContractModels.SecondaryObject()
            {
                Description = inputModel.Description,
                Name        = inputModel.Name,
            };

            return(await _apiClient.UpdateAsync($"{__addressRoot}/{id}", contractModel));
        }
        public async Task <ContractModels.SecondaryObject> CreateAsync(Guid primaryObjectd, ViewModels.SecondaryObject inputModel)
        {
            Ensure.That(inputModel, nameof(inputModel)).IsNotNull();

            var contractModel = new ContractModels.SecondaryObject()
            {
                Description = inputModel.Description,
                Name        = inputModel.Name,
            };

            return(await _apiClient.CreateAsync($"api/primaryobjects/{primaryObjectd}/secondaryobjects", contractModel));
        }