Beispiel #1
0
 public void Add(Employee emp)
 {
     _empCollection.Add(emp);
 }
Beispiel #2
0
        public bool SetEmployee(uint day, string colName, Employee emp)
        {
            if (_data.ContainsKey(day)
                && _data[day].ContainsKey(colName))
            {
                _data[day][colName] = emp;
                return true;
            }

            return false;
        }