コード例 #1
0
        public QueryResult <CountyViewModel> Query(QueryStandard query)
        {
            var queryResult = _countyRepository.Query(query);
            var results     = new QueryResult <CountyViewModel>();

            results.Count = queryResult.Count;
            results.Data  = queryResult.Data.Select(Map).ToList();

            return(results);
        }