using System; using System.Collections.Generic; using System.Linq; namespace Interfaces { public class TimeLogList { public TimeLogList() { TimeLogs = new Dictionary(); } public DateTime SelectedDate { get; set; } public int CalendarWeek { get; set; } public int TimeLogCount { get { return TimeLogs.Values.Sum(x => x.LogCount); } } public Dictionary TimeLogs { get; set; } public double WeeklyTotal { get { return TimeLogs.Values.Sum(x => x.DailyTotal); } } public float HoursPerWeekMinutes { get; set; } } }