Example #1
0
        private void HandleAddRehersalCommand(RehersalViewModel parameter)
        {
            parameter = DataPersister.GetBasicRehersal();
            int nameCounter = 1;

            parameter.Name = this.GetUniqueName(parameter.Name, nameCounter);
            this.rehersals.Insert(0, parameter);
        }