public ActionResult DeletePdf(int id) { try { IContentService contentService = new ContentService(); contentService.DeletePdfById(id); return(RedirectToAction("ManagePdf", "Admin")); } catch (Exception) { throw; } }
public ActionResult DeletePdf(int id) { try { IContentService contentService = new ContentService(); contentService.DeletePdfById(id); return(RedirectToAction("ManagePdf", "Admin")); } catch (Exception) { throw; } }