Beispiel #1
0
        public decimal GetProjectedIncomeUntil(DateTime endDate)
        {
            var reservations  = reservationManager.GetNumberOfReservationsUntil(endDate);
            var averageIncome = GetAverageIncome();

            return(reservations.Count * averageIncome);
        }