Exemple #1
0
        public RemoveInfoResponse RemoveInfo(RemoveInfoRequest request)
        {
            var respone = new RemoveInfoResponse()
            {
                ErrorCode = "00", IsSuccess = "0", Message = "成功"
            };
            var result = curdData.RemoveInfo(request.Id);

            if (result > 0)
            {
                respone.IsSuccess = "1";
            }
            else
            {
                respone.ErrorCode = "失败";
            }
            return(respone);
        }
 public RemoveInfoResponse RemoveInfo(RemoveInfoRequest request)
 {
     return(CurdHandler.RemoveInfo(request));
 }