private void AssertItemTypeIndex(ItemTypeIndexDto itemTypeIndex) { Assert.That(itemTypeIndex.Id, Is.Not.Null.Or.Empty); Assert.That(itemTypeIndex.Name, Is.Not.Null.Or.Empty); Assert.That(itemTypeIndex.Path, Is.Not.Null.Or.Empty); }
private async Task <IEnumerable <ItemTypeDto> > ProcessIndexToType(ItemTypeIndexDto itemTypeIndex) { var itemTypes = await Client.GetItemTypeAsync(itemTypeIndex.Path); return(itemTypes); }