[HttpPost] public string Post1([FromForm] CreateUserDto input) { return JsonSerializer ... 必須在 AddMvc 之後註冊,因為其需要使用Mvc的服務。
確定! 回上一頁