Пример #1
0
        private void LoadFromModel(ParentEvening model)
        {
            EventId       = model.EventId;
            Name          = model.Name;
            BookingOpened = model.BookingOpened;
            BookingClosed = model.BookingClosed;

            if (model.Event != null)
            {
                Event = new DiaryEventModel(model.Event);
            }
        }
Пример #2
0
 public ParentEveningModel(ParentEvening model) : base(model)
 {
     LoadFromModel(model);
 }