//need to remove ITimeLogsManager from driver #region ITimeLogsManager Members public List <IActivity> GetActivities(DateTime day) { if (timeLogsManager != null) { return(timeLogsManager.GetActivities(day)); } return(null); }
private TimeSpan GetSpentOnDay(DateTime day) { if (timeLogsManager != null) { List <IActivity> activities = timeLogsManager.GetActivities(day); return(this.SummarizeSpent(activities)); } return(TimeSpan.Zero); }