Пример #1
0
        public async Task CreateOptionAsync(int pickListId, string name)
        {
            var body = new PickListOptionRequest
            {
                Name = name
            };

            MetaResponse response = await _service.CreateOptionAsync(pickListId, body);

            Assert.IsNotNull(response);
        }
Пример #2
0
        public async Task UpdateAsync()
        {
            var body = new PickListOptionRequest
            {
                SortOrder = 1,
                Name      = "Mr.",
                Default   = true
            };

            MetaResponse response = await _service.UpdateAsync(PickListOptionId, body);

            Assert.IsNotNull(response);
        }