public static IServiceProvider AddHubs(this IServiceProvider services)
        {
            services.AddHubContext <PostsHub, IChatClient>();

            return(services);
        }