Пример #1
0
        // Proteted
        public async Task <bool> UpdatePreset(string id, string name, int expireTime, string expireFormat, int deviceLimit, int sessionLimit, string[] tags)
        {
            var result = await client.SendMutationAsync <IUpdatePresetResponse>(mutations.UPDATE_PRESET(id, name, expireTime, expireFormat, deviceLimit, sessionLimit, tags));

            return(result.Data.updatePreset);
        }