Example #1
0
 public ActionResult StopChannel(int channelId)
 {
     using (RentItServiceClient proxy = new RentItServiceClient())
     {
         if (proxy.CanStartStopChannels())
         {
             proxy.StopChannelStream(channelId);
         }
     }
     return Redirect(Request.UrlReferrer.PathAndQuery);
 }