// GET: Favorite public ActionResult Index() { int id = (int)Session["UserId"]; List <Note> listNote = _noteBLL.GetAll(id); return(View(listNote)); }