public async Task <List <Ta_TaskTypeEntity> > GetPageList(Ta_TaskTypeListParam param, Pagination pagination) { var expression = ListFilter(param); var list = await this.BaseRepository().FindList(expression, pagination); return(list.ToList()); }
private Expression <Func <Ta_TaskTypeEntity, bool> > ListFilter(Ta_TaskTypeListParam param) { var expression = LinqExtensions.True <Ta_TaskTypeEntity>(); if (param != null) { } return(expression); }
public async Task <TData <List <Ta_TaskTypeEntity> > > GetPageList(Ta_TaskTypeListParam param, Pagination pagination) { TData <List <Ta_TaskTypeEntity> > obj = new TData <List <Ta_TaskTypeEntity> >(); obj.Result = await ta_TaskTypeService.GetPageList(param, pagination); obj.TotalCount = pagination.TotalCount; obj.Tag = 1; return(obj); }
public async Task <TData <List <Ta_TaskTypeEntity> > > GetList(Ta_TaskTypeListParam param) { TData <List <Ta_TaskTypeEntity> > obj = new TData <List <Ta_TaskTypeEntity> >(); obj.Result = await ta_TaskTypeService.GetList(param); obj.TotalCount = obj.Result.Count; obj.Tag = 1; return(obj); }
public async Task <ActionResult> GetPageListJson(Ta_TaskTypeListParam param, Pagination pagination) { TData <List <Ta_TaskTypeEntity> > obj = await ta_TaskTypeBLL.GetPageList(param, pagination); return(Json(obj)); }