Refactoring - split data, logic and model layers; custom network exception
This commit is contained in:
18
StudentHouseDashboard/Models/UserRole.cs
Normal file
18
StudentHouseDashboard/Models/UserRole.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Models
|
||||
{
|
||||
public enum UserRole
|
||||
{
|
||||
[Display(Name = "Tenant")]
|
||||
TENANT,
|
||||
[Display(Name = "Manager")]
|
||||
MANAGER,
|
||||
[Display(Name = "Administrator")]
|
||||
ADMIN
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user