コード例 #1
0
ファイル: ChannelController.cs プロジェクト: markthor/RentIt
 public ActionResult StopChannel(int channelId)
 {
     using (RentItServiceClient proxy = new RentItServiceClient())
     {
         if (proxy.CanStartStopChannels())
         {
             proxy.StopChannelStream(channelId);
         }
     }
     return Redirect(Request.UrlReferrer.PathAndQuery);
 }