BlazorShared and Services (#430)
* Service to Services * Change Shared project to BlazorShared * change refrerances to BlazorShared
This commit is contained in:
@@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.eShopWeb.Web.Pages.Admin
|
||||
{
|
||||
[Authorize(Roles = AuthorizationConstants.Roles.ADMINISTRATORS)]
|
||||
[Authorize(Roles = BlazorShared.Authorization.Constants.Roles.ADMINISTRATORS)]
|
||||
public class EditCatalogItemModel : PageModel
|
||||
{
|
||||
private readonly ICatalogItemViewModelService _catalogItemViewModelService;
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.eShopWeb.Web.Pages.Admin
|
||||
{
|
||||
[Authorize(Roles = AuthorizationConstants.Roles.ADMINISTRATORS)]
|
||||
[Authorize(Roles = BlazorShared.Authorization.Constants.Roles.ADMINISTRATORS)]
|
||||
public class IndexModel : PageModel
|
||||
{
|
||||
public IndexModel()
|
||||
|
||||
Reference in New Issue
Block a user