ASP.NET Core Binding case sensitivity (C#)

I created CRUD controller. When creating a model, I need to use schema:

{ "id": int, "name": string }

But the controller also binds the schema

{ "Id": int, "Name": string }

How can I force the controller bind only lowercase version { "id": int, "name": string } ?



from Recent Questions - Stack Overflow https://ift.tt/3qlzq6J
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation