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

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

            return(ServiceHelper.MapResponse(response));
        }