public async Task <IActionResult> GetQuestionPostByUserId(long userId) { var Posts = await PostSvc.GetQuestionPostByUserIdAsync(userId); return(new JsonResult( new APIResult <List <ListPostDTO> >() { Data = Posts })); }
public async Task <IActionResult> GetQuestionPostByUserId(long userId) { var Posts = await PostSvc.GetQuestionPostByUserIdAsync(userId); return(new JsonResult( new APIResult <List <ListPostDTO> >() { Data = Posts })); }