Skip to main content
2 of 2
web api is incorrect
PeteGO
  • 5.8k
  • 3
  • 43
  • 75

For .Net Core :-

public void ConfigureServices(IServiceCollection services) { ... services.AddJsonFormatters(f => f.Converters.Add(new StringEnumConverter())); ... } 
PeteGO
  • 5.8k
  • 3
  • 43
  • 75