Beispiel #1
0
        public string GenerateCustomerId()
        {
            string customerId    = "CUST-000000";
            int    customerCount = _customerAccess.CountCustomer() + 1;

            customerId = string.Format("CUST-{0}", customerCount.ToString("D6"));
            return(customerId);
        }