public void ConfigureServices(IServiceCollection services)
        {
            DependencyRegistration.BuildDependancies(services);

            services.AddCors(options =>
            {
                options.AddPolicy(name: MyAllowSpecificOrigins,
                                  builder =>
                {
                    builder.WithOrigins("http://localhost:3000")
                    .AllowAnyHeader()
                    .AllowAnyMethod();
                });
            });

            services.AddControllers();

            services.AddSwaggerGen();
        }