public ActionResult UpdateData(int Id, int TVSeriesDVDsCopies, int CostPerItem)
 {
     AdminUpdateDeleteTVSeriesDAL movieUpdate = new AdminUpdateDeleteTVSeriesDAL();
     movieUpdate.UpdateTVSeriesRow(Id, TVSeriesDVDsCopies, CostPerItem);
     return View();
 }
 public ActionResult DeleteData(int Id)
 {
     AdminUpdateDeleteTVSeriesDAL movieDelete = new AdminUpdateDeleteTVSeriesDAL();
     movieDelete.DeleteTVSeriesRow(Id);
     return View();
 }
 //
 // GET: /AdminUpdateDeleteTVSeries/
 public ActionResult Index()
 {
     if (Session["UserID"] != null)
     {
         if (Session["Role"].Equals("member"))
         {
             return RedirectToAction("Index", "Member");
         }
     }
     else
     {
         return RedirectToAction("Login", "Account");
     }
     List<AdminUpdateDeleteTVSeries> tvSeriesList = new List<AdminUpdateDeleteTVSeries>();
     AdminUpdateDeleteTVSeriesDAL tvSeriesObj = new AdminUpdateDeleteTVSeriesDAL();
     tvSeriesList = tvSeriesObj.TVSeriesData();
     return View(tvSeriesList);
 }