Пример #1
0
 public bool UserInRole(Forum_User User, BuildInRole Role)
 {
     return UserInRole(User, (int)Role);
 }
Пример #2
0
 public Forum_Role GetBuildInRole(BuildInRole Role)
 {
     return db.Forum_Roles.SingleOrDefault(R => R.RoleID == (int)Role);
 }