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