예제 #1
0
        public ProjetView()
        {
            InitializeComponent();
            DataContext = this;
            RetrieveArgs = new RetrieveProjetArgs();
            _ServiceProjet = ServiceFactory.Instance.GetService<IProjetService>();
            _applicationService = ServiceFactory.Instance.GetService<IApplicationService>();

            Projet = new ObservableCollection<Projet>(_ServiceProjet.retrieveAll());
        }
예제 #2
0
        public RapportView()
        {
            InitializeComponent();
            RetrieveArgs = new RetrieveEmployeArgs();
            _ServiceEmploye = ServiceFactory.Instance.GetService<IEmployeService>();
            _applicationService = ServiceFactory.Instance.GetService<IApplicationService>();

            Employe = new ObservableCollection<Employe>(_ServiceEmploye.RetrieveAll());
            _ServiceProjet = ServiceFactory.Instance.GetService<IProjetService>();
            Projet = new ObservableCollection<Projet>(_ServiceProjet.retrieveAll());
            _ServicePaie = ServiceFactory.Instance.GetService<IPaiesService>();
            Paie = new ObservableCollection<Paie>(_ServicePaie.RetrieveAll());
            DataContext = this;
        }