feat: add IsActive field to UserClubFeatures for admin management
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ public class GetNetworkStatisticsQueryHandler : IRequestHandler<GetNetworkStatis
|
||||
}
|
||||
|
||||
// Monthly growth (last 6 months) - using Created date
|
||||
var sixMonthsAgo = DateTime.UtcNow.AddMonths(-6);
|
||||
var sixMonthsAgo = DateTime.Now.AddMonths(-6);
|
||||
var monthlyGrowth = await _context.Users
|
||||
.Where(x => x.NetworkParentId != null && x.Created >= sixMonthsAgo)
|
||||
.GroupBy(x => new { x.Created.Year, x.Created.Month })
|
||||
|
||||
Reference in New Issue
Block a user