public BaseResponse ActivateProduct(int Productid, long auditUserId, string auditWorkstation) { try { _cardManService.ActivateProduct(Productid, 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 : "")); } }