Example #1
0
        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);
        }
Example #2
0
 public BasicResponse <OperatelogInfo> GetOperatelogById(OperatelogGetRequest operatelogrequest)
 {
     return(_operatelogService.GetOperatelogById(operatelogrequest));
 }
Example #3
0
        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));
        }