public PostService(IPostsApi postsApi) { _postsApi = postsApi; }
public GetAllPostsQueryHandler(IPostsApi postsApi, IMapper mapper) { _postsApi = postsApi; _mapper = mapper; }
public CreatePostCommandHandler(IPostsApi postsApi, IMapper mapper) { _postsApi = postsApi; _mapper = mapper; }