Exemplo n.º 1
0
        public static List <R_SyncLocalInfo> GetR_SyncLocalIetms()
        {
            List <R_SyncLocalInfo>        items   = new List <R_SyncLocalInfo>();
            R_SyncLocalCacheGetAllRequest request = new R_SyncLocalCacheGetAllRequest();
            var reslut = rsyncLocalCacheService.GetAll(request);

            if (reslut.IsSuccess && reslut.Data != null)
            {
                items = reslut.Data;
            }
            return(items);
        }
        public BasicResponse <System.Collections.Generic.List <R_SyncLocalInfo> > GetAll(R_SyncLocalCacheGetAllRequest syncLocalCacheRequest)
        {
            BasicResponse <List <R_SyncLocalInfo> > response = new BasicResponse <List <R_SyncLocalInfo> >();
            var data = KJ237CacheHelper.Cache.FindAll <R_SyncLocalInfo>();

            response.Data = data;
            return(response);
        }