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