// GET: ReadingPart
        public ActionResult Index()
        {
            IEWSReadingPart iReadPart = new BSReadingPart();

            List <EWSReadPart> model = iReadPart.GetReadingPartsByUserID(GetCurrentUser().ID);

            return(View(model));
        }
        public ActionResult GetReadingPartList()
        {
            IEWSReadingPart iReadPart = new BSReadingPart();

            List <EWSReadPart> model = iReadPart.GetReadingPartsByUserID(GetCurrentUser().ID);

            return(PartialView("ReadPartGrid", model));
        }
Beispiel #3
0
        public JsonResult GetEWSReadingPart(int userID)
        {
            IEWSReadingPart iReadinPart = new BSReadingPart();

            List <EWSReadPart> result = iReadinPart.GetReadingPartsByUserID(userID, false);

            return(Json(result, JsonRequestBehavior.AllowGet));
        }