diff --git a/SGGL/BLL/Person/Person_PersonContractService.cs b/SGGL/BLL/Person/Person_PersonContractService.cs
index c687d524..7fae1013 100644
--- a/SGGL/BLL/Person/Person_PersonContractService.cs
+++ b/SGGL/BLL/Person/Person_PersonContractService.cs
@@ -33,14 +33,17 @@ namespace BLL
///
public static IEnumerable getListData(string personId, Grid Grid1)
{
- IQueryable getDataList = getDataLists.Where(x => x.PersonId == personId);
+ var db1 = Funs.DB;
+ var q= from x in db1.Person_PersonContract
+ select x;
+ IQueryable getDataList = q.Where(x => x.PersonId == personId);
count = getDataList.Count();
if (count == 0)
{
return null;
}
getDataList = SortConditionHelper.SortingAndPaging(getDataList, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize);
- var db1 = Funs.DB;
+
return from x in getDataList
select new
{