public async Task <Guid> AddEmployee(Employee NewEmployee)
        {
            NewEmployee.DateCreated    = DateTime.Now;
            NewEmployee.LastUpdateDate = DateTime.Now;
            _context.Employees.Add(NewEmployee);
            await _context.SaveChangesAsync();

            return(NewEmployee.EmployeeNumber);
        }
        public async Task <bool> AddTemperatureLog(TemperatureRecord temperatureRecord)
        {
            if (_context.Employees.Any(Employee => Employee.EmployeeNumber == temperatureRecord.EmployeeId))
            {
                temperatureRecord.RecordDate = DateTime.Now;
                _context.TemperatureRecords.Add(temperatureRecord);
                await _context.SaveChangesAsync();

                return(true);
            }
            return(false);
        }