Exemplo n.º 1
0
        public ActionResult MyLikedNotes()
        {
            var notes = likedManager.QueryableList().Include("LikedUser").Include("Note").Where(
                x => x.LikedUser.Id == CurrentSession.User.Id).Select(
                x => x.Note).Include("Category").Include("Owner").OrderByDescending(
                x => x.ModifiedOn);

            return(View("Index", notes.ToList()));
        }