public IActionResult Delete(int album_id, Album objTemp) { try { bool deleteFlag = AlbumDB.DeleteAlbum(objTemp); return(RedirectToAction("Index")); } catch (Exception ex) { return(View()); } }
public IActionResult Delete(int album_id, Album objTemp) { try { bool deleteFlag = AlbumDB.DeleteAlbum(objTemp); return(RedirectToAction("Index")); } catch (Exception ex) { return(View()); } }