public ActionResult DeleteConfirmed(int id)
        {
            LyricsCategoryTable lyricscategorytable = db.LyricsCategoryTable.Find(id);

            db.LyricsCategoryTable.Remove(lyricscategorytable);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
        //
        // GET: /LyricsCategory/Delete/5

        public ActionResult Delete(int id = 0)
        {
            LyricsCategoryTable lyricscategorytable = db.LyricsCategoryTable.Find(id);

            if (lyricscategorytable == null)
            {
                return(HttpNotFound());
            }
            return(View(lyricscategorytable));
        }
 public ActionResult Edit(LyricsCategoryTable lyricscategorytable)
 {
     if (ModelState.IsValid)
     {
         db.Entry(lyricscategorytable).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(lyricscategorytable));
 }
        //[ValidateAntiForgeryToken]
        public ActionResult Create(LyricsCategoryTable lyricscategorytable)
        {
            if (ModelState.IsValid)
            {
                db.LyricsCategoryTable.Add(lyricscategorytable);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

            return(View(lyricscategorytable));
        }