Example #1
0
        // GET: Lookup
        public JsonResult GetEWSLists(int userID)
        {
            IEWSList iList = new BsEWSList();

            List <EWSList> result = iList.GetUserListByUserID(userID);

            return(Json(result, JsonRequestBehavior.AllowGet));
        }
        public ActionResult GetUserLists()
        {
            IEWSList ilist = new BsEWSList();

            List <EWSList> result = ilist.GetUserListByUserID(GetCurrentUser().ID);

            result = result.Where(p => p.EWSReadPart.Count() == 0).ToList();
            return(PartialView("EWSListGrid", result));
        }