Beispiel #1
0
        public async Task AddStuffItem()
        {
            var item = new StuffItem
            {
                Name = "name1",
                Tags = new List <TagItem>
                {
                    new TagItem {
                        Value = "sience"
                    },
                    new TagItem {
                        Value = "red"
                    }
                }
            };

            await _service.UpdateAsync(item);

            Assert.Null(item.Id);
        }