Administrator role will have a permission to all actions (CRUD and search).
.
Staff or Member role will have only permission to search information.
Other roles do not have any permissions.
Note that the permission for Authentication feature is using EmailAddress and AccountPassword.
2. Using ASP.NET Core Web API or API.NET Core Web API with OData to implement the functions. ( is using in this case.
Implement CRUD actions with CosmeticInformation table. Add new item with the requirements:
• All fields are required.
Ο Value for CosmeticName includes a-z, A-Z, space, @, # and digit 0-9. Each word ( CosmeticName must begin with the capital letter.
• Value for DollarPrice > 0.
• The value for CosmeticName and CosmeticSize must be 2-80 characters.
Get all items includes all CosmeticInformation information and CategoryName.
Zoom
100%
Close