public ActionResult FindUser(string keyword) { SearchInfo searchInfo = new SearchInfo(); searchInfo.search = new DtSearch() { value = keyword }; searchInfo.start = 0; searchInfo.length = 10; SearchResult result = uBiz.Search(searchInfo); return(Json(result.data, JsonRequestBehavior.AllowGet)); }
public async Task <Result <LightUserModel> > Search(SearchUserModel model) => await _userBiz.Search(model);
public ActionResult Search(SearchInfo searchInfo) { return(Json(uBiz.Search(searchInfo))); }