public ActionResult DeleteAncientChecksForYear(FileViewModel model) { CheckManager.DeleteAncientChecksForYear(Convert.ToInt32(model.Year)); ViewData["DeletedAncientAncientChecks"] = string.Format("Deleted checks for year {0}", model.Year); return(View("AncientChecks")); }