Beispiel #1
0
        public void AddInfo()
        {
            EmployeeService employeeService = new EmployeeService();

            int      employeeId = TemporaryIdAndDate.EmployeeId;
            Employee employee   = employeeService.GetById(employeeId);

            string date             = displayDateLabel.Text;
            string time             = displayTimeLabel.Text;
            string temp             = tempTextBox.Text;
            string lastPlaceVisited = lastPlaceTextBox.Text;

            logService.AddLogInfo(employeeId, date, time, temp, lastPlaceVisited);

            tempTextBox.Clear();
            lastPlaceTextBox.Clear();
        }