예제 #1
0
        public EventConsumer()
        {
            var container = IoC.GetIoC().Container;

            outMailRepository        = container.Resolve <IOutMailRepository>();
            companyAccountRepository = container.Resolve <ICompanyAccountRepository>();
        }
예제 #2
0
 public MailController(
     IUserRepository userRepository,
     IUserAuthenticationRepository userAuthenticationRepository,
     ICompanyAccountRepository companyAccountRepository,
     IOutMailRepository outMailRepository,
     IInMailRepository inMailRepository,
     IBus bus)
 {
     this.userRepository = userRepository;
     this.userAuthenticationRepository = userAuthenticationRepository;
     this.companyAccountRepository     = companyAccountRepository;
     this.outMailRepository            = outMailRepository;
     this.inMailRepository             = inMailRepository;
     this.bus = bus;
 }