Пример #1
0
        static void Main(string[] args)
        {
            var fakeCustomerRepository = new FakeCustomerRepository();
            var fakerBrokerRepository  = new FakeBrokerRepository();

            GenerateWallet(fakeCustomerRepository, fakerBrokerRepository);
        }
Пример #2
0
            public Wallet GetWalletBydataRegistro(string dataRegistro)
            {
                var fakeCustomerRepository = new FakeCustomerRepository();
                var fakerBrokerRepository  = new FakeBrokerRepository();
                var customer = customerRepository.GetById(Guid.NewGuid());
                var broker   = brokerRepository.GetbyId(Guid.NewGuid());
                var wallet   = new Wallet(
                    new BuyDate(new DateTime(20190909), new DateTime(20190912)));

                return(walletFake);
            }