Ejemplo n.º 1
0
 public BasicResponse <List <AreaInfo> > GetAllAreaCache(Sys.Safety.Request.PersonCache.AreaCacheGetAllRequest arearequest)
 {
     return(areaService.GetAllAreaCache(arearequest));
 }
Ejemplo n.º 2
0
        public BasicResponse <List <AreaInfo> > GetAllAreaCache(Sys.Safety.Request.PersonCache.AreaCacheGetAllRequest arearequest)
        {
            var responseStr = HttpClientHelper.Post(Webapi + "/v1/Area/GetAllAreaCache?token=" + Token, JSONHelper.ToJSONString(arearequest));

            return(JSONHelper.ParseJSONString <BasicResponse <List <AreaInfo> > >(responseStr));
        }
Ejemplo n.º 3
0
        public Basic.Framework.Web.BasicResponse <List <DataContract.AreaInfo> > GetAllAreaCache(Sys.Safety.Request.PersonCache.AreaCacheGetAllRequest AreaCacheRequest)
        {
            var _AreaCache        = AreaCache.AreaCacheInstance.Query();
            var AreaCacheResponse = new BasicResponse <List <AreaInfo> >();

            AreaCacheResponse.Data = _AreaCache;
            return(AreaCacheResponse);
        }