Example #1
0
        public ActionResult MyBag()
        {
            var notes = bagManager.ListQueryable().Include("BagUser").Include("Note").Where(
                x => x.BagUser.Id == SessionManager.User.Id).Select(
                x => x.Note).Include("Owner").OrderByDescending(
                x => x.CreatedDate);

            return(View(notes.ToList()));
        }