public ActionResult List(GetListPointCollectionRequest request,int? authuid ,UserModel authUser) { request.AuthUid = authuid.Value; request.AuthUser = authUser; return new RestfulResult { Data = this._pointDataService.GetList(request) }; }
public ExecuteResult<PointCollectionResponse> GetList(GetListPointCollectionRequest request) { int totalCount; var data = this._pointRepository.GetPagedList(request.PagerRequest, out totalCount, request.AuthUid, request.SortOrder); var response = new PointCollectionResponse(request.PagerRequest, totalCount) { PointInfoResponses = MappingManager.PointInfoResponseMapping(data) }; return new ExecuteResult<PointCollectionResponse>(response); }