Esempio n. 1
0
 public DislikedRepositoriesViewModel(IApplicationService applicationService)
 {
     this.WhenActivated(d =>
     {
         var repos = applicationService.Account.StumbledRepositories.Query
                     .Where(x => x.Liked == false)
                     .OrderByDescending(x => x.CreatedAt);
         RepositoryCollection.Reset(repos);
     });
 }
Esempio n. 2
0
 public HistoryViewModel(IApplicationService applicationService)
 {
     ApplicationService = applicationService;
     RepositoryCollection.Reset(ApplicationService.Account.StumbledRepositories.Query.OrderByDescending(x => x.CreatedAt));
 }