File tree Expand file tree Collapse file tree
EstateReportingAPI.BusinessLogic Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -572,16 +572,16 @@ into grouped
572572 } ) . SingleOrDefaultAsync ( cancellationToken ) ;
573573
574574 var unSettledFees = await ( from f in query
575- where f . Fee . IsSettled
576- group f by f . Fee . IsSettled == false
575+ where f . Fee . IsSettled == false
576+ group f by f . Fee . IsSettled
577577 into grouped
578578 select new
579579 {
580580 Value = grouped . Sum ( g => g . Fee . CalculatedValue ) ,
581581 Count = grouped . Count ( )
582582 } ) . SingleOrDefaultAsync ( cancellationToken ) ;
583583
584- return new DatabaseProjections . SettlementGroupProjection
584+ return new DatabaseProjections . SettlementGroupProjection ( )
585585 {
586586 SettledCount = settledFees ? . Count ?? 0 ,
587587 SettledValue = settledFees ? . Value ?? 0 ,
@@ -605,8 +605,8 @@ into grouped
605605 } ) . SingleOrDefaultAsync ( cancellationToken ) ;
606606
607607 var unSettledFees = await ( from f in query
608- where f . Fee . IsSettled
609- group f by f . Fee . IsSettled == false
608+ where f . Fee . IsSettled == false
609+ group f by f . Fee . IsSettled
610610 into grouped
611611 select new
612612 {
You can’t perform that action at this time.
0 commit comments