1
This commit is contained in:
@@ -33,14 +33,17 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static IEnumerable getListData(string personId, Grid Grid1)
|
||||
{
|
||||
IQueryable<Model.Person_PersonContract> getDataList = getDataLists.Where(x => x.PersonId == personId);
|
||||
var db1 = Funs.DB;
|
||||
var q= from x in db1.Person_PersonContract
|
||||
select x;
|
||||
IQueryable<Model.Person_PersonContract> 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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user