public void Configure(IApplicationBuilder app, IHostingEnvironment env)
        {
            CarShopApiConfiguration.Configure(app, host =>
            {
                if (env.IsDevelopment())
                {
                    host.UseDeveloperExceptionPage();
                }
                else
                {
                    host.UseHsts();
                }

                host.UseHttpsRedirection();
                return(host);
            });
        }
 public void ConfigureServices(IServiceCollection services)
 {
     CarShopApiConfiguration.ConfigureServices(services, Configuration);
 }