public static List<Role> GetAllRoles() { List<Role> roles = new List<Role>(); SqlRoleProvider sqlRoleProvider = new SqlRoleProvider(); roles = sqlRoleProvider.GetAllRoles(); return roles; }
public static List <Role> GetAllRoles() { List <Role> roles = new List <Role>(); SqlRoleProvider sqlRoleProvider = new SqlRoleProvider(); roles = sqlRoleProvider.GetAllRoles(); return(roles); }