I am trying to get value of the parameter from action method, instead of underlined value, should not there be key?(x.key) in order to get the argument name?
var param = context.ActionArguments
.SingleOrDefault(x => x.Value.ToString().Contains("DTO")).Value;
[HttpPost]
[ServiceFilter(typeof(ValidationFilterAttribute))]
public async Task<IActionResult> CreateCompany([FromBody] CompanyForCreationDTO company)
