public void UpdateChannelInfo(string name, Game game) { try { _apiLink.UpdateChannelInfo(name, game); } catch (HttpRequestException e) { if (e.Message.Contains("401")) { // Display not enough right } } }
private void EditChannel() { try { _apiLink.UpdateChannelInfo(EditName, EditGame); } catch (HttpRequestException e) { if (e.Message.Contains("401")) { // Display not enough right } } }