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