Example #1
0
 public ActionResult DeleteChannel(int channelId, int userId)
 {
     using (RentItServiceClient proxy = new RentItServiceClient())
     {
         proxy.DeleteChannel(channelId);
     }
     return RedirectToAction("MyChannels", new { userId = userId });
 }