Esempio n. 1
0
 private void FillRolesList()
 {
     using (MembershipDBEntities context = new MembershipDBEntities())
     {
         this.roles = context.aspnet_Roles.OrderBy(x => x.RoleName).ToList();
     }
 }
Esempio n. 2
0
 private void FillUsersList()
 {
     using (MembershipDBEntities context = new MembershipDBEntities())
     {
         this.users = context.aspnet_Users.OrderBy(x => x.UserName).ToList();
     }
 }