Exemple #1
0
        /// <summary>
        /// get all BlogPost by calling Repository GetAllPost method
        /// </summary>
        /// <returns></returns>
        public async Task <IEnumerable <BlogPost> > GetAllPost()
        {
            var result = await _blogPostRepository.GetAllPost();

            return(result);
        }