Ejemplo n.º 1
0
        public BasicResponse <List <R_PbInfo> > GetAllR_PBCache(R_PBCacheGetAllRequest R_PBCacheRequest)
        {
            var result            = R_PBCache.CahceInstance.Query();
            var R_PBCacheResponse = new BasicResponse <List <R_PbInfo> >();

            R_PBCacheResponse.Data = result;
            return(R_PBCacheResponse);
        }
Ejemplo n.º 2
0
        public static List <R_PbInfo> GetAllR_PBItems()
        {
            List <R_PbInfo>        items   = new List <R_PbInfo>();
            R_PBCacheGetAllRequest request = new R_PBCacheGetAllRequest();
            var result = r_PBCacheService.GetAllR_PBCache(request);

            if (result.IsSuccess && result.Data != null)
            {
                items = result.Data;
            }
            return(items);
        }