常用方法
常用方法
常用方法
常用方法
/// <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); }