public ActionResult Delete(int idNote) { _rep.DeleteNote(idNote); return(View(_rep.GetNoteList())); }