示例#1
0
 public BaseResponse DeleteSubProduct(int Productid, int subProductid, long auditUserId, string auditWorkstation)
 {
     try
     {
         _cardManService.DeleteSubProduct(Productid, subProductid, auditUserId, auditWorkstation);
         return(new BaseResponse(ResponseType.SUCCESSFUL,
                                 "",
                                 ""));
     }
     catch (Exception ex)
     {
         log.Error(ex);
         return(new BaseResponse(ResponseType.ERROR,
                                 "Error processing request, please try again.",
                                 log.IsDebugEnabled || log.IsTraceEnabled ? ex.Message : ""));
     }
 }