public string ValidateInvoiceNumber(string invoiceNumber) { string message = string.Empty; try { InvoiceNumber.Validate(invoiceNumber); } catch (ArgumentException e) { message = e.Message; } return(message); }
public string ValidateInvoiceNumber(string invoiceNumber) { string message = string.Empty; try { InvoiceNumber.Validate(invoiceNumber); } catch (ArgumentException e) { message = e.Message; } return(message); }