public Controller()
 {
     NewBooking        = new Booking();
     _BookingRepo      = BookingRepository.GetInstance();
     NewMember         = new Member();
     CalendarDates     = Calendar.GetInstance();
     Shift             = new Shift();
     Instructor        = new Instructor();
     _StatisticHandler = StatisticHandler.GetInstance();
     StatisticRepoUpdate();
     IntitialRepoUpdate();
     _StatisticHandler.AddToExcellFromStatisticRepo();
 }
        public void SaveStatistics(string goal)
        {
            DateTime _DayOfJournalCreation = DateTime.Today;

            Statistic _Statistic = new Statistic(NewMember.Age, _DayOfJournalCreation.ToShortDateString(), goal);

            string _ExceptionMessage = _StatisticHandler.AddStatisticToDB(_Statistic);

            if (_ExceptionMessage == "")
            {
                _StatisticHandler.StatisticRepoUpdate();
                _StatisticHandler.AddToExcellFromStatisticRepo();
            }
        }