コード例 #1
0
        public ActionResult InfoProblemsLibrary(int OID)
        {
            ProblemsLibrary ProblemsLibraryDetail = ProblemsLibraryRepository.SelProblemsLibraryObject(new ProblemsLibrary {
                OID = OID
            });

            ViewBag.OID = ProblemsLibraryDetail.OID;
            ViewBag.ProblemsLibraryDetail = ProblemsLibraryDetail;
            ViewBag.Status = BPolicyRepository.SelBPolicy(new BPolicy {
                Type = EcontentsConstant.TYPE_ECONTENTS
            });
            return(View(ProblemsLibraryDetail));
        }
コード例 #2
0
        public JsonResult SelProblemsLibrary(ProblemsLibrary _param)
        {
            List <ProblemsLibrary> ProblemsLibrary = ProblemsLibraryRepository.SelProblemsLibrary(_param);

            return(Json(ProblemsLibrary));
        }