public SettingsViewModel(IPageService pageService, IRepository repository, IInitializeDatabase initializeDatabase)
 {
     this.pageService        = pageService;
     this.repository         = repository;
     this.initializeDatabase = initializeDatabase;
     ResetDatabaseCommand    = new Command(async x => await ResetDatabase());
 }
Exemple #2
0
 public ErrorModel(ILogger <ErrorModel> logger, IInitializeDatabase initializeDatabase)
 {
     _logger = logger;
     Message = initializeDatabase.Result;
 }