How to get API response key values in PascalCase as same as the object variable name in .net core 3.1 only for one controller or one function? – Asp.net
This is my Object Class public class MyObject { Public string Var1 { get; set; } Public string Var2 { get; set; } } This is a get function of my controller class [HttpGet] public IActionResult GetObjList() { return Ok(new…