Beispiel #1
0
 public void UpdateRoom(RoomModel room)
 {
     sourceModel.EditRoom(EncodeRoom(room));
 }
Beispiel #2
0
        public void AddRoom(RoomModel room)
        {
            var id = sourceModel.AddRoom(EncodeRoom(room));

            room.Id = id;
        }