예제 #1
0
 public static List<ButtonRole> GetAllButtonRoles()
 {
     List<ButtonRole> buttonRoles = new List<ButtonRole>();
     SqlButtonRoleProvider sqlButtonRoleProvider = new SqlButtonRoleProvider();
     buttonRoles = sqlButtonRoleProvider.GetAllButtonRoles();
     return buttonRoles;
 }
예제 #2
0
    public static List <ButtonRole> GetAllButtonRoles()
    {
        List <ButtonRole>     buttonRoles           = new List <ButtonRole>();
        SqlButtonRoleProvider sqlButtonRoleProvider = new SqlButtonRoleProvider();

        buttonRoles = sqlButtonRoleProvider.GetAllButtonRoles();
        return(buttonRoles);
    }