/// <summary> /// making font object as inactive /// </summary> /// <param name="Productid"></param> /// <param name="auditUserId"></param> /// <param name="auditWorkstation"></param> /// <returns></returns> public BaseResponse DeleteFont(int fontid, long auditUserId, string auditWorkstation) { try { _cardManService.DeleteFont(fontid, auditUserId, auditWorkstation); return(new BaseResponse(ResponseType.SUCCESSFUL, "", "")); } catch (DuplicateIssuerException dex) { log.Warn(dex); return(new BaseResponse(ResponseType.FAILED, dex.Message, log.IsDebugEnabled || log.IsTraceEnabled ? dex.Message : "")); } catch (Exception ex) { log.Error(ex); return(new BaseResponse(ResponseType.ERROR, "Error processing request, please try again.", log.IsDebugEnabled || log.IsTraceEnabled ? ex.Message : "")); } }