private void ActivateTimeLog(DateTime date) { ITimeLog activeTimeLog = TimeLogsManager.ActivateTimeLog(date); HistoryDataProvider.UpdateTimeLog(activeTimeLog); workingTime.TimeLog = activeTimeLog; }
public void SetSummaryPeriod(DateTime from, DateTime to) { activitiesSummary.TimeLogs = TimeLogsManager.GetTimeLogs(from, to); TasksSummary goodTasksSummary = tasksSummary as TasksSummary; if (goodTasksSummary != null) { goodTasksSummary.Calculate(); } }