public BasicResponse <OperatelogInfo> GetOperatelogById(OperatelogGetRequest operatelogrequest) { var result = _Repository.GetOperatelogById(operatelogrequest.Id); var operatelogInfo = ObjectConverter.Copy <OperatelogModel, OperatelogInfo>(result); var operatelogresponse = new BasicResponse <OperatelogInfo>(); operatelogresponse.Data = operatelogInfo; return(operatelogresponse); }
public BasicResponse <OperatelogInfo> GetOperatelogById(OperatelogGetRequest operatelogrequest) { return(_operatelogService.GetOperatelogById(operatelogrequest)); }
public BasicResponse <OperatelogInfo> GetOperatelogById(OperatelogGetRequest operatelogrequest) { var responseStr = HttpClientHelper.Post(Webapi + "/v1/Operatelog/Get?token=" + Token, JSONHelper.ToJSONString(operatelogrequest)); return(JSONHelper.ParseJSONString <BasicResponse <OperatelogInfo> >(responseStr)); }