Ejemplo 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;
 }
Ejemplo n.º 2
0
 public Task <bool> SaveAppThema(ApplicationThema applicationThema)
 {
     StorageModel.AppSettings.ApplicationThema = applicationThema;
     return(SaveAsync());
 }
Ejemplo n.º 3
0
 public void ChangeAppThema(ApplicationThema AplicationThema)
 {
     StorageService.SaveAppThema(AplicationThema);
     throw new NotImplementedException();
 }
Ejemplo n.º 4
0
 public Task <bool> SaveAppThema(ApplicationThema applicationThema)
 {
     ApplicationThema = applicationThema;
     return(Task.FromResult(true));
 }