public BasicResponse <List <AreaInfo> > GetAllAreaCache(Sys.Safety.Request.PersonCache.AreaCacheGetAllRequest arearequest) { return(areaService.GetAllAreaCache(arearequest)); }
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)); }
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); }