Bug in filtering a claim of a specific type and value is now fixed.
Modifying the sample to use the fix.
This commit is contained in:
parent
4a26d740b5
commit
92904e0d9e
|
|
@ -7,9 +7,7 @@ using System.Linq;
|
||||||
|
|
||||||
namespace MusicStore.Controllers
|
namespace MusicStore.Controllers
|
||||||
{
|
{
|
||||||
//https://github.com/aspnet/WebFx/issues/314
|
[Authorize("ManageStore", "Allowed")]
|
||||||
//[Authorize("ManageStore", "Allowed")]
|
|
||||||
[Authorize]
|
|
||||||
public class StoreManagerController : Controller
|
public class StoreManagerController : Controller
|
||||||
{
|
{
|
||||||
private readonly MusicStoreContext db;
|
private readonly MusicStoreContext db;
|
||||||
|
|
@ -55,7 +53,6 @@ namespace MusicStore.Controllers
|
||||||
return View(album);
|
return View(album);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Bug: SelectList still not available
|
|
||||||
//
|
//
|
||||||
// GET: /StoreManager/Create
|
// GET: /StoreManager/Create
|
||||||
|
|
||||||
|
|
@ -66,7 +63,6 @@ namespace MusicStore.Controllers
|
||||||
return View();
|
return View();
|
||||||
}
|
}
|
||||||
|
|
||||||
//Bug: SelectList not available
|
|
||||||
// POST: /StoreManager/Create
|
// POST: /StoreManager/Create
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public IActionResult Create(Album album)
|
public IActionResult Create(Album album)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue