protected void OnSeedDatabaseFromFile()
 {
     CategoryService.ResetToDefault();
     DataOptionsService.SeedDatabase(true);
 }
 protected void OnClearDatabase()
 {
     CategoryService.ResetToDefault();
     DataOptionsService.ClearDatabase();
 }
 protected void OnSeedDatabase()
 {
     CategoryService.ResetToDefault();
     DataOptionsService.SeedDatabase(false);
 }
 protected async Task OnApplyMigrationAsync()
 {
     CategoryService.ResetToDefault();
     await DataOptionsService.ApplyMigrationsAsync();
 }
 protected async Task OnChooseContextAsync()
 {
     await DataOptionsService.GetMigrationOptionsAsync();
 }
 protected async Task OnSaveDataToJsonAsync()
 {
     await DataOptionsService.SaveDataToJsonAsync();
 }
 protected override async Task OnInitAsync() => await DataOptionsService.GetMigrationOptionsAsync();