public static bool Save(Customer customer, out string message) { try { if (CustomerDL.CustomerExists(customer)) { message = string.Format("Customer with email address: {0} exists already", customer.EmailAddress); return(false); } else { message = string.Empty; return(CustomerDL.Save(customer)); } } catch (Exception ex) { throw ex; } }