Пример #1
0
        private FacadeRepository()
        {
            AccountDataAccess = new AccountDataAccess();
            MatchDataAccess = new MatchDataAccess();
            RewardDataAccess = new RewardDataAccess();
            TicketDataAccess = new TicketDataAccess();
            WinnerDataAccess = new WinnerDataAccess();

            MatchFacade = new MatchFacade();
            AccountFacade = new AccountFacade();
            RewardFacade = new RewardFacade();
            TicketFacade = new TicketFacade();
            WinnerFacade = new WinnerFacade();
            PhoneVerificationFacade = new PhoneVerificationFacade(new TwilioSMSSender());
        }
Пример #2
0
 internal void InitializePhoneVerification(ISMSSender phoneVerification)
 {
     PhoneVerificationFacade = new PhoneVerificationFacade(phoneVerification);
 }