public Task <IEnumerable <IdeaDto> > FilterMyIdeas(string keyword, int pageSize = 10, int page = 1) { return(_ideaService.GetUserIdeasAsync(_userIdentityProvider.GetUserId(), pageSize, page, keyword)); }
public async Task <IActionResult> MyIdeas() { var ideas = await _ideaService.GetUserIdeasAsync(_userIdentityProvider.GetUserId(), 10, 1, string.Empty); return(View(IndexIdeasViewModel.MapFrom(ideas))); }