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)); }
public JsonResult SelProblemsLibrary(ProblemsLibrary _param) { List <ProblemsLibrary> ProblemsLibrary = ProblemsLibraryRepository.SelProblemsLibrary(_param); return(Json(ProblemsLibrary)); }