public async Task <IActionResult> GetDayPost() { return(new JsonResult(new APIResult <List <ListPostDTO> > { Data = await PostSvc.GetByDayCommentAsync() })); }
public async Task <IActionResult> GetDayPost() { return(new JsonResult(new APIResult <List <ListPostDTO> > { Data = await PostSvc.GetByDayCommentAsync() })); }