Exemplo n.º 1
0
 /// <summary>
 /// 删除轴承库厂商
 /// </summary>
 /// <returns></returns>
 public BaseResponse <bool> FactoryDelete(DeleteFactoryParameter param)
 {
     if (this.ValidateData <DeleteFactoryParameter>(param))
     {
         return(utilityManager.FactoryDelete(param));
     }
     else
     {
         BaseResponse <bool> result = new BaseResponse <bool>();
         result.IsSuccessful = false;
         result.Code         = "001501";
         LogHelper.WriteLog(string.Format("未通过安全验证:({0}:{1}", result.Code, result.Reason));
         return(result);
     }
 }