示例#1
0
 public JsonResult SearchField(string strSearch)
 {
     if (String.IsNullOrEmpty(strSearch))
     {
         return(Json(new List <FPT_SP_CATA_SEARCH_MARC_FIELDS_Results>(), JsonRequestBehavior.AllowGet));
     }
     else
     {
         List <FPT_SP_CATA_SEARCH_MARC_FIELDS_Results> listSearch = catalogueBusiness.FPT_SP_CATA_SEARCH_MARC_FIELDS(strSearch, (-1), 0, "", "");
         return(Json(listSearch, JsonRequestBehavior.AllowGet));
     }
 }