Ejemplo n.º 1
0
 public List <Role> Roles_Get()
 {
     using (var myen = new AccessEntities())
     {
         if (LogedInUser != null)
         {
             lblUserName.Text = LogedInUser.FullName;
             return(myen.ListRolesOfUser(LogedInUser.ID, true).ToList <Role>());
         }
         return(null);
     }
 }