Ejemplo n.º 1
0
        public TableViewModel()
        {
            _container    = new UnityContainer();
            _companyRepo  = _container.Resolve <CompanyRepo>();
            _fileWriter   = _container.Resolve <FileWriter>();
            _emailService = _container.Resolve <EmailService>();

            _companies = new ObservableCollection <CompanyCredentials>(_companyRepo.GetCompanies());
        }