public RoomPageViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
        {
            _repository = repository;

            Cities = new List <string> {
                "Makkah", "Madinah"
            };
        }
示例#2
0
        public GroupPageViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
        {
            _repository = repository;

            Years = new List <int> {
                2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030
            };
        }
        public PersonPageViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
        {
            _repository = repository;

            Genders = new List <string> {
                "Male", "Female"
            };
        }
        public ManageGroupViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
        {
            _repository = repository;

            PropertyChanged += This_PropertyChanged;

            Years = new List <int> {
                2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030
            };
        }
示例#5
0
 public RoomAllocationPageViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
 {
     _repository = repository;
     Years       = new List <int> {
         2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030
     };
     Cities = new List <string> {
         "Makkah", "Madinah"
     };
     PropertyChanged += This_PropertyChanged;
 }
        public BusPageViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
        {
            _repository = repository;
            Years       = new List <int> {
                2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030
            };

            Routes = new List <string> {
                "Makkah to Madinah", "Makkah to Airport", "Madinah to Airport", "Madinah To Makkah"
            };
        }
示例#7
0
        public CheckinPageViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
        {
            _dbRepository = repository;

            Years = new List <int> {
                2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030
            };
            _selectedYear = DateTime.Now.Year;

            Cities = new List <string> {
                "Makkah", "Madinah"
            };

            PropertyChanged += This_PropertyChanged;
        }
示例#8
0
        public ReportPageViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
        {
            _repository = repository;

            Years = new List <int> {
                2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030
            };
            Genders = new List <string> {
                "Male", "Female"
            };
            FilterModel = new FilterModel {
                VisitYear = DateTime.Now.Year
            };
            ColumnVisibility = new ColumnVisibility();
        }
 public BatchPageViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
 {
     _repository = repository;
 }