Exemplo n.º 1
0
        private static ICustomerDetails GetJack()
        {
            ICustomerPersonalDetails personalDetails = new CustomerPersonalDetails("Jack", DateTime.Now.AddYears(-35));
            IBankAccountDetails      bankDetails     = new BankAccountDetails("31-94-92", "12423432");

            return(new CustomerDetails((int)UserIdEnum.Jack, personalDetails, bankDetails));
        }
Exemplo n.º 2
0
        private static ICustomerDetails GetJane()
        {
            ICustomerPersonalDetails personalDetails = new CustomerPersonalDetails("Jane", DateTime.Now.AddYears(-29));
            IBankAccountDetails      bankDetails     = new BankAccountDetails("30-98-93", "23435332");

            return(new CustomerDetails((int)UserIdEnum.Jane, personalDetails, bankDetails));
        }