// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
        public void Configure(IApplicationBuilder app,
                              AddDataToDataBase addDataToDataBase)
        {
            app.UseIISPlatformHandler();

            app.UseDefaultFiles();
            app.UseStaticFiles();

            app.UseMvc(config =>
            {
                config.MapRoute(
                    name: "Default",
                    template: "{controller}/{action}/{id?}");
            });


            addDataToDataBase.EnsureData().Wait();
        }
        // GET: Test
        public ActionResult Index()
        {
            AddDataToDataBase add = new AddDataToDataBase();

            return(Content(add.AddData()));
        }