public async Task Init()
        {
            var ideas = await _ideaService.GetIdeasAsync();

            _ideasVM = ideas.Select(i => new IdeaViewModel(i))
                       .ToObservableCollection();

            RaiseAllPropertiesChanged();
        }
Esempio n. 2
0
 public Task <IEnumerable <IdeaDto> > Get(int pageSize = 10, int page = 1)
 {
     return(_ideaService.GetIdeasAsync(pageSize, page));
 }