public double Query(string startDate, string endDate) { return(budgetRepo .FindAll() .Sum(b => b.GetOverlappingAmount(new Period(startDate, endDate)))); }