public int GetTotalDurationWithoutChildrenInMinForMonth(DateTime month) { return DirectTrackedTimeRows.Where(x => x.RecordDate.Year == month.Year && x.RecordDate.Month == month.Month) .Sum(x => (int)x.DurationInSeconds / 60); }
internal bool ContainsMember(string member) { return DirectTrackedTimeRows.Any(x => x.TeamMember == member) || Childs.Any(x => x.ContainsMember(member)); }