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); }
public Basic.Framework.Web.BasicResponse <List <Sys.Safety.DataContract.R_CallInfo> > GetAllRCallCache(RCallCacheGetAllRequest callRequest) { return(_R_CallService.GetAllRCallCache(callRequest)); }
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)); }