public CurrenciesController( ICurrenciesService currenciesService, IMapper mapper) { this.currenciesService = currenciesService; this.mapper = mapper; }
public AddEditCurrencyViewModel(ICurrenciesService currenciesService) { _currenciesService = currenciesService; CancelCommand = new RelayCommand(OnCancel); SaveCommand = new RelayCommand(OnSave, CanSave); }
public HomeController( ICountriesService countriesService, ITownsService townsService, ICurrenciesService currenciesService) : base(townsService, currenciesService) { this.countriesService = countriesService; }
public AddEditExchangeRateViewModel(IExchangeRatesService exchangeRatesService, ICurrenciesService currenciesService) { _exchangeRatesService = exchangeRatesService; _currenciesService = currenciesService; CancelCommand = new RelayCommand(OnCancel); SaveCommand = new RelayCommand(OnSave, CanSave); CurrenciesDropDownOpenedCommand = new RelayCommand(OnCurrenciesDropDownOpened, () => Currencies != null && Currencies.Any()); }
public RollsService( CashRollDbContext db, ICurrenciesService currenciesService, IMapper mapper) { this.db = db; this.currenciesService = currenciesService; this.mapper = mapper; }
public WalletsController( IWalletsService walletsService, IRecordsService recordsService, ICurrenciesService currenciesService, UserManager <ApplicationUser> userManager) { this.walletsService = walletsService; this.recordsService = recordsService; this.currenciesService = currenciesService; this.userManager = userManager; }
public Bot(IUserService userService, IExchangeRateService exchangeRateService, ICurrenciesService currenciesService, ILocalizationService localizationService, Rate rateCommand) { InitializeUserCommands(userService, currenciesService, rateCommand); InitializeCallbackQueryHandlers(userService, localizationService); InitializeHiddenCommands(exchangeRateService); Client = new TelegramBotClient(AppSettings.BotKey); }
public WalletsService( ApplicationDbContext dbContext, IRecordsService recordsService, ICurrenciesService currenciesService, ICategoriesService categoriesService) { this.dbContext = dbContext; this.recordsService = recordsService; this.currenciesService = currenciesService; this.categoriesService = categoriesService; }
public AddEditBankAccountViewModel(IBankAccountsService bankAccountsService, RelatedPersonListViewModel relatedPersonListViewModel, IBanksService banksService, ICurrenciesService currenciesService, IAccountTypesService accountTypesService) { _currenciesService = currenciesService; _bankAccountsService = bankAccountsService; _banksService = banksService; _accountTypesService = accountTypesService; CancelCommand = new RelayCommand(OnCancel); SaveCommand = new RelayCommand(OnSave, CanSave); BanksDropDownOpenedCommand = new RelayCommand(OnBanksDropDownOpened, () => Banks != null && Banks.Any()); CurrenciesDropDownOpenedCommand = new RelayCommand(OnCurrenciesDropDownOpened, () => Currencies != null && Currencies.Any()); RelatedPersonListViewModel = relatedPersonListViewModel; }
public RegisterViewModel(ICurrenciesService currenciesService, IUsersService usersService, IUsersFactory usersFactory, IModelFactory modelFactory) { this.currenciesService = currenciesService; this.usersService = usersService; this.usersFactory = usersFactory; this.modelFactory = modelFactory; this.Currencies = this.currenciesService.GetCurrencies(); this.User = this.modelFactory.CreateSimpleRegistrationUser(); this.RegisterCommand = new RelayCommand <object>(Register); }
public BankAccountListViewModel(IBankAccountsService bankAccountsService, IBanksService banksService, ICurrenciesService currenciesService, IAccountTypesService accountTypesService, ICompanyInformationsService companyInformationsService) { _companyInformationsService = companyInformationsService; CompanyInformationModel = _companyInformationsService.GetCompanyInformationModel(); _banksService = banksService; _currenciesService = currenciesService; _accountTypesService = accountTypesService; _bankAccountsService = bankAccountsService; AddBankAccountCommand = new RelayCommand(OnAddBankAccount); EditBankAccountCommand = new RelayCommand <BankAccount>(OnEditBankAccount); DeleteCommand = new RelayCommand <BankAccount>(OnDeleteBankAccount); AddRelatedPersonCommand = new RelayCommand <BankAccount>(OnAddRelatedPerson); BankAccount = new BankAccount(); }
public SettingsViewModel(IUsersService usersService, ICurrenciesService currenciesService, IModelFactory modelFactory) { this.usersService = usersService; this.currenciesService = currenciesService; this.modelFactory = modelFactory; this.User = this.modelFactory.CreateSimpleEditUser(); this.Currencies = this.currenciesService.GetCurrencies(); this.PopulateFields(); this.SaveUserInformationCommand = new RelayCommand(SaveUserInformation); this.SaveUserPasswordCommand = new RelayCommand <object>(SaveUserPassword); }
private void InitializeUserCommands(IUserService userService, ICurrenciesService currenciesService, Rate rateCommand) { userCommands = new List <Command> { new Start(userService), new Tutorial(), new SetCurrency(userService), new Help(), new Currencies(currenciesService), new UserSettings(), new Language(), new NotImplemented(), new Today(rateCommand), new Yesterday(rateCommand) }; }
public DLListViewModel(ISystemAccountingSettingsService systemAccountingSettingsService , IBankAccountsService bankAccountsService, IBanksService banksService, ICurrenciesService currenciesService, IAccountTypesService accountTypesService, ICompanyInformationsService companyInformationsService) { _companyInformationsService = companyInformationsService; CompanyInformationModel = _companyInformationsService.GetCompanyInformationModel(); _systemAccountingSettingsService = systemAccountingSettingsService; _banksService = banksService; _currenciesService = currenciesService; _accountTypesService = accountTypesService; _bankAccountsService = bankAccountsService; BanksDropDownOpenedCommand = new RelayCommand(OnBanksDropDownOpened, () => Banks != null && Banks.Any()); CurrenciesDropDownOpenedCommand = new RelayCommand(OnCurrenciesDropDownOpened, () => Currencies != null && Currencies.Any()); AddDLCommand = new RelayCommand(OnAddDL); EditDLCommand = new RelayCommand <DL>(OnEditDL); _accessUtility = SmObjectFactory.Container.GetInstance <AccessUtility>(); }
public DepositController( ICardsService cardsService, IDepositWaysOfAccumulationService depositWaysOfAccumulationService, IDepositTermsService depositTermsService, ICurrenciesService currenciesService, IAddCardHandler addCardHandler, INewDepositHandler newDepositHandler, ICloseDepositHandler closeDepositHandler) { CardsService = cardsService; DepositWaysOfAccumulationService = depositWaysOfAccumulationService; DepositTermsService = depositTermsService; CurrenciesService = currenciesService; AddCardHandler = addCardHandler; NewDepositHandler = newDepositHandler; CloseDepositHandler = closeDepositHandler; }
public ProductAddOrUpdateValidationAndEnrichment( IUnderlyingsCache underlyingsCache, ICurrenciesService currenciesService, IMarketSettingsRepository marketSettingsRepository, IProductCategoriesService productCategoriesService, ITickFormulaRepository tickFormulaRepository, IAssetTypesRepository assetTypesRepository) { _underlyingsCache = underlyingsCache; _currenciesService = currenciesService; _marketSettingsRepository = marketSettingsRepository; _productCategoriesService = productCategoriesService; _tickFormulaRepository = tickFormulaRepository; _assetTypesRepository = assetTypesRepository; AddValidation(UnderlyingMustExist); AddValidation(CurrencyMustExist); AddValidation(MarketSettingsMustExist); AddValidation(TickFormulaMustExist); AddValidation(AssetTypeMustExist); AddValidation(SetCategoryIdAsync); AddValidation(SetExistingFields); }
public Currencies(ICurrenciesService currenciesService) { service = currenciesService; }
public CurrenciesController(ICurrenciesService currenciesService) { mCurrenciesService = currenciesService; }