public BasicResponse <PowerboxchargehistoryInfo> AddPowerboxchargehistory(Sys.Safety.Request.Powerboxchargehistory.PowerboxchargehistoryAddRequest powerboxchargehistoryRequest) { return(_IPowerboxchargehistoryService.AddPowerboxchargehistory(powerboxchargehistoryRequest)); }
public BasicResponse <PowerboxchargehistoryInfo> AddPowerboxchargehistory(Sys.Safety.Request.Powerboxchargehistory.PowerboxchargehistoryAddRequest powerboxchargehistoryRequest) { var responseStr = HttpClientHelper.Post(Webapi + "/v1/Powerboxchargehistory/Add?token=" + Token, JSONHelper.ToJSONString(powerboxchargehistoryRequest)); return(JSONHelper.ParseJSONString <BasicResponse <PowerboxchargehistoryInfo> >(responseStr)); }