public BlogPostService(IRepository <BlogPostEntity> repository, LikeRateFavService likeService)
     : base(repository, likeService)
 {
     //注册BlogPost的私有属性
     //EntityRepository.RegisterMap<BlogPostEntity>(new List<string>() { "readTimes", "likedTimes", "reprintedTimes", "rating" });
 }
 public CommentService(IRepository <CommentEntity> repository, LikeRateFavService likeService)
     : base(repository, likeService)
 {
 }
Exemple #3
0
 public BlogBaseService(IRepository <T> repository, LikeRateFavService likeService)
     : base(repository)
 {
     LrfService = likeService;
 }