public void ConfigureServices(IServiceCollection services) { // Enable Cros services.AddCors(); Installer.ConfigureDataBase(services, Configuration); // Add Jwt Authentication JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear(); Installer.ConfigureAuthentication(services, Configuration); // Add Swagger Installer.ConfigureSwagger(services); services.AddMvc() .AddJsonOptions(options => options.UseMemberCasing()) .SetCompatibilityVersion(CompatibilityVersion.Version_2_2); }