/// <summary> /// Selects records based on the passed filters as a collection (List) of RoleMaster sorted by the sort expression. /// </summary> public static List <RoleMaster> SelectAllDynamicWhere(int?roleId, string roleDescription, DateTime?createdOn, string createdBy, DateTime?modifiedOn, string modifiedBy, string sortByExpression) { List <RoleMaster> objRoleMasterCol = RoleMasterDataLayer.SelectAllDynamicWhere(roleId, roleDescription, createdOn, createdBy, modifiedOn, modifiedBy); return(SortByExpression(objRoleMasterCol, sortByExpression)); }
/// <summary> /// Selects records based on the passed filters as a collection (List) of RoleMaster. /// </summary> public static List <RoleMaster> SelectAllDynamicWhere(int?roleId, string roleDescription, DateTime?createdOn, string createdBy, DateTime?modifiedOn, string modifiedBy) { return(RoleMasterDataLayer.SelectAllDynamicWhere(roleId, roleDescription, createdOn, createdBy, modifiedOn, modifiedBy)); }