Exemplo n.º 1
0
 public MockDataService()
 {
     UserTasks = new List <UserTask>();
     for (int i = 0; i < 11; i++)
     {
         UserTasks.Add(CreateUserTask());
     }
     Sessions         = CreateStatisticData(UserTasks, 20, DateTime.Now.AddDays(-360), DateTime.Now);
     ApplicationThema = ApplicationThema.NightThema;
 }
Exemplo n.º 2
0
 public Task <bool> SaveAppThema(ApplicationThema applicationThema)
 {
     StorageModel.AppSettings.ApplicationThema = applicationThema;
     return(SaveAsync());
 }
Exemplo n.º 3
0
 public void ChangeAppThema(ApplicationThema AplicationThema)
 {
     StorageService.SaveAppThema(AplicationThema);
     throw new NotImplementedException();
 }
Exemplo n.º 4
0
 public Task <bool> SaveAppThema(ApplicationThema applicationThema)
 {
     ApplicationThema = applicationThema;
     return(Task.FromResult(true));
 }