public ActionResult Delete(int id, IFormCollection collection) { _nContainer.DeleteNote(id); return(RedirectToAction("Index")); }