public ActionResult Delete(int id, ContractsView contracts) { try { _contractsBusinessLogic.Delete(id); return(RedirectToAction(nameof(Index))); } catch { return(View()); } }
public ActionResult Delete(int id, ContractsView contracts) { try { _contractsBusinessLogic.Delete(id); return(RedirectToAction(nameof(Index))); } catch { return(View()); } }