Exemplo n.º 1
0
        // GET: Lookup
        public JsonResult GetEWSLists(int userID)
        {
            IEWSList iList = new BsEWSList();

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

            return(Json(result, JsonRequestBehavior.AllowGet));
        }
Exemplo n.º 2
0
        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));
        }