Exemplo n.º 1
0
        public ActionResult Delete(int Id)
        {
            TrackRateBLL rate = dbGet.GetTrackRate(dbGet.GetTrack(Id).TrackName).FirstOrDefault();

            dbMod.DeleteTrackRate(rate);
            dbMod.DeleteTrack(Id);

            return(RedirectToAction("Index"));
        }
Exemplo n.º 2
0
 public ActionResult Delete(int Id)
 {
     dbMod.DeleteTrack(Id);
     return(RedirectToAction("Index"));
 }