[FromForm] isn't available in .NET 6 for minimal API. - C#