eFormCore/Infrastructure/Data/Entities/EntityGroup.cs
Method ReadSorted
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static async Task<Models.EntityGroup> ReadSorted(MicrotingDbContext dbContext, string entityGroupMUId,
string sort,
string nameFilter)
{
EntityGroup eG =
Consider simplifying this complex logical expression. Open
Open
if (string.IsNullOrEmpty(nameFilter))
{
eILst = dbContext.EntityItems.Where(x => x.EntityGroupId == eG.Id
&& x.WorkflowState !=
Constants.Constants.WorkflowStates.Removed