public PostService(IBloggerDbContext dbContext, IMapper mapper) { _dbContext = dbContext; _mapper = mapper; }
public CommentService(IBloggerDbContext dbContext, IMapper mapper, IPostService postService, IUserService userService) { _dbContext = dbContext; _mapper = mapper; _postService = postService; _userService = userService; }