예제 #1
0
        //[Authorize]
        public IActionResult GetAllArticles()
        {
            IQueryable <Article> articles = _articleAppService.GetAllArticles();

            return(CreateResponse(articles));
        }
 public List <Article> GetAllArticles(String username, int blogId)
 {
     return(_articleApplicationService.GetAllArticles(username, blogId));
 }