예제 #1
0
        public async Task <Result <Channel> > SetType(Payload.SetType payload)
        {
            var response = await _restClientService.Post <ChannelResult>(GetUrl("setType"), payload);

            return(ProcessChannelResponse(response));
        }
예제 #2
0
        public async Task <Result <GroupResult> > SetType(Payload.SetType payload)
        {
            var response = await _restClientService.Post <GroupResult>(GetUrl("setType"), payload);

            return(ServiceHelper.MapResponse(response));
        }