예제 #1
0
        public SupportSlot AddSlot(SupportEngineer engeneer)
        {
            if (IsFilled)
            {
                throw new InvalidOperationException();
            }

            var supportSlot = new SupportSlot
            {
                Engeneer = engeneer,
                Date     = _date
            };

            _slots.Add(supportSlot);
            return(supportSlot);
        }
 public void AddSupportSlot(SupportSlot slot)
 {
     _slots.Add(slot);
 }