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