public async Task <ActionResult> AjaxIndex() { var result = await _locationServices.GetList(GetFilters(), GetSort(), GetAccount()); var branchs = await _basicInfoServices.GetBranchs(GetAccount()); foreach (var vm in result.data) { var branchId = vm.BranchId.ToString(); vm.StorageNum = branchs.FirstOrDefault(o => o.Value == branchId).Text; } return(Json(result)); }