mirror of https://github.com/EasyAbp/EShop.git
9 changed files with 78 additions and 15 deletions
@ -0,0 +1,12 @@ |
|||||
|
using Volo.Abp; |
||||
|
|
||||
|
namespace EasyAbp.EShop.Products.Categories |
||||
|
{ |
||||
|
public class NotAllowedToGetCategoryListWithShowHiddenException : BusinessException |
||||
|
{ |
||||
|
public NotAllowedToGetCategoryListWithShowHiddenException() : base( |
||||
|
message: $"You have no permission to get category list with hidden categories.") |
||||
|
{ |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,13 @@ |
|||||
|
using System; |
||||
|
using Volo.Abp; |
||||
|
|
||||
|
namespace EasyAbp.EShop.Products.Products |
||||
|
{ |
||||
|
public class NotAllowedToGetProductListWithShowHiddenException : BusinessException |
||||
|
{ |
||||
|
public NotAllowedToGetProductListWithShowHiddenException() : base( |
||||
|
message: $"You have no permission to get product list with hidden products.") |
||||
|
{ |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue