public async Task <Result <Channel> > SetType(Payload.SetType payload) { var response = await _restClientService.Post <ChannelResult>(GetUrl("setType"), payload); return(ProcessChannelResponse(response)); }
public async Task <Result <GroupResult> > SetType(Payload.SetType payload) { var response = await _restClientService.Post <GroupResult>(GetUrl("setType"), payload); return(ServiceHelper.MapResponse(response)); }