取得專案位置可以使用注入IWebHostEnvironment,_env.ContentRootPath來取得。 完整程式碼 namespace Todo.Controllers { [Route("api/[controller]")] ...
確定! 回上一頁