public FinDiaryTransExpencePageViewModel(INavigationService navigationService
                                          , ITransactionDataStore <FinDiaryTransactionDto, FinDiaryTransactionCreateDto, FinDiaryTransactionModifyDto> itemsDs
                                          , IAutoCompleteDataSource <Transactor> transactorsAutoCompleteDs
                                          , IAutoCompleteDataSource <FinTransCategory> categoriesAutoCompleteDs
                                          , IAutoCompleteDataSource <Company> companiesAutoCompleteDs
                                          , IAutoCompleteDataSource <CostCentre> costCentresAutoCompleteDs
                                          , IAutoCompleteDataSource <RevenueCentre> revenueCentresAutoCompleteDs
                                          , IPageDialogService dialogService) : base(navigationService)
 {
     _costCentresAutoCompleteDs    = costCentresAutoCompleteDs;
     _revenueCentresAutoCompleteDs = revenueCentresAutoCompleteDs;
     _itemsDs = itemsDs;
     _transactorsAutoCompleteDs = transactorsAutoCompleteDs;
     _categoriesAutoCompleteDs  = categoriesAutoCompleteDs;
     _companiesAutoCompleteDs   = companiesAutoCompleteDs;
     _dialogService             = dialogService;
     _transactionDate           = DateTime.Today;
     Title        = "Εξοδα";
     isModifyMode = false;
 }
 public Repository(
     ICounties counties,
     IMunicipalities municipalities,
     IDataSets datasets,
     ITransactionDataStore transactionData,
     IDataQualityClassifications dataQualityClassifications,
     IDataAgeDistributions dataAgeDistributions,
     IDataQualityDistributions dataQualityDistributions,
     IMappingProjects mappingProjects,
     IOffices offices)
 {
     Counties                   = counties;
     Municipalities             = municipalities;
     DataSets                   = datasets;
     TransactionData            = transactionData;
     DataQualityClassifications = dataQualityClassifications;
     DataAgeDistributions       = dataAgeDistributions;
     DataQualityDistributions   = dataQualityDistributions;
     MappingProjects            = mappingProjects;
     Offices = offices;
 }
Esempio n. 3
0
 public HomeController(IAccountDataStore accountDataStore, ITransactionDataStore transactionDataStore)
 {
     _accountDataStore     = accountDataStore;
     _transactionDataStore = transactionDataStore;
 }