Beispiel #1
0
        public async Task <bool> DeleteCurrentSchemeAsync()
        {
            if (CurrentScheme == null)
            {
                return(false);
            }

            return(await AppDataUtilities.DeleteSchemeAsync(CurrentScheme.Name));
        }
Beispiel #2
0
        public async Task <bool> SaveCurrentSchemeAsync()
        {
            if (CurrentScheme == null)
            {
                return(false);
            }

            return(await AppDataUtilities.WriteSchemeAsync(CurrentScheme));
        }
Beispiel #3
0
 public async Task <bool> RefreshSchemesAsync()
 {
     return(await AppDataUtilities.RefreshSchemesAsync(schemes));
 }
Beispiel #4
0
 public async Task LoadAllDataAsync()
 {
     schemes = await AppDataUtilities.ReadAllSchemesAsync();
 }