public static IEnumerable <EnumCode> GetSelectedCodes() { IEnumerable <ConfigCodeEnum> symbolList = EnumUtilsExtensions.GetSelectedItems <ConfigCodeEnum>().ToList(); IEnumerable <EnumCode> configList = symbolList.Select((c) => ((EnumCode)c)).ToList(); return(configList); }
public static IEnumerable <ConfigRoleEnum> GetSelectedEnums() { IEnumerable <ConfigRoleEnum> configList = EnumUtilsExtensions.GetSelectedItems <ConfigRoleEnum>().ToList(); return(configList); }