예제 #1
0
        public async Task <ProfileSearchResponse> SearchsAsync(string freeText, string status, string type, int page = 1)
        {
            var result = await _svMcredit.SearchProfiles(freeText, status, type, page);

            if (!result.success)
            {
                return(ToResponse(result));
            }
            return(result.data);
        }
예제 #2
0
        public async Task <JsonResult> Search(string freeText, string status, string type, int page)
        {
            var result = await _svMCredit.SearchProfiles(freeText, status, type, page, GlobalData.User.IDUser);

            return(ToJsonResponse(true, "", result));
        }