//public  static string Title(Customer c)
 //{
 //    return c.CreateTitle($"{PartTitle(c)}, {c.AccountNumber}");
 //}
 private static string PartTitle(Customer c)
 {
     return(IsStore(c) ? StoreFunctions.Title(c.Store) : PersonFunctions.Title(c.Person));
 }
Beispiel #2
0
 public static string Title(this BusinessEntityContact bec)
 {
     return(bec.CreateTitle($"{ContactTypeFunctions.Title(bec.ContactType)}: {PersonFunctions.Title(bec.Person)}"));
 }