Exemplo n.º 1
0
        public async Task <IActionResult> MyIdeas()
        {
            var ideas = await _ideaService.GetUserIdeasAsync(_userIdentityProvider.GetUserId(), 10, 1, string.Empty);

            return(View(IndexIdeasViewModel.MapFrom(ideas)));
        }
Exemplo n.º 2
0
 public IActionResult Index()
 {
     return(View(IndexIdeasViewModel.MapFrom(Enumerable.Empty <IdeaDto>())));
 }