public static List <R_CallInfo> GetCallItems()
        {
            List <R_CallInfo>       callItems = new List <R_CallInfo>();
            RCallCacheGetAllRequest request   = new RCallCacheGetAllRequest();
            var result = r_CallService.GetAllRCallCache(request);

            if (result.IsSuccess && result.Data != null)
            {
                callItems = result.Data;
            }
            return(callItems);
        }
Esempio n. 2
0
 public Basic.Framework.Web.BasicResponse <List <Sys.Safety.DataContract.R_CallInfo> > GetAllRCallCache(RCallCacheGetAllRequest callRequest)
 {
     return(_R_CallService.GetAllRCallCache(callRequest));
 }
Esempio n. 3
0
        public BasicResponse <List <R_CallInfo> > GetAllRCallCache(RCallCacheGetAllRequest callRequest)
        {
            var responseStr = HttpClientHelper.Post(Webapi + "/v1/R_Call/GetAllRCallCache?token=" + Token, JSONHelper.ToJSONString(callRequest));

            return(JSONHelper.ParseJSONString <BasicResponse <List <R_CallInfo> > >(responseStr));
        }