To make the authorized attribute work you need to add the relevant middleware and the magic happens in the Startup class. app.UseAuthorization ...
確定! 回上一頁