Код: Выделить всё
[HttpPost]
public IActionResult methodOne([FromForm] DtoWithDateTime dtoWithDateTime )
[HttpPost]
public IActionResult methodTwo([FromBody] DtoWithDateTime dtoWithDateTime )
Мой вопрос заключается в том, почему один и тот же параметр из запроса работает нормально с Methodone , который использует из атрибута ?
Подробнее здесь: https://stackoverflow.com/questions/795 ... o-datetime