public BlogsController(IBlogHttpClient blogsHttpClient) { _blogsHttpClient = blogsHttpClient; }
public UsersController(IBlogHttpClient blogHttpClient, IOptions <User> adminSettings) { _blogClient = blogHttpClient; _adminSettings = adminSettings.Value; _blogClient.Authenticate(adminSettings.Value); }