This commit is contained in:
Zeeshaun
2026-03-13 09:28:55 -05:00
parent a675c5f5b0
commit 4e6099ff5c
184 changed files with 13756 additions and 0 deletions
@@ -0,0 +1,19 @@
using System.Collections.Generic;
using System.Linq;
using LCU.Library.Internal.DataCleanUpModel.Entities;
namespace LCU.Api.Internal.DataCleanUpLib.Extensions
{
public static class QueryableExcludeMinorAccountType
{
public static IQueryable<Ltv_DataCleanUp> ExcludeMinorAccountType(this IQueryable<Ltv_DataCleanUp> queryable, List<string> listExcludedMinorAccountTypes)
{
if (listExcludedMinorAccountTypes == null || !listExcludedMinorAccountTypes.Any())
{
return queryable;
}
return queryable.Where(ltv_DataCleanUp => !listExcludedMinorAccountTypes.Contains(ltv_DataCleanUp.MinorType));
}
}
}