private void AddHourCode(object parameter)
        {
            var codeAndName = parameter.ToString();
            var split       = codeAndName.Split(new[] { ':' });

            if (split.Length < 2)
            {
                return;
            }
            var code = split[0];
            var name = split[1];

            HourCode = _hourCodeProvider.Add(code, name);
        }
 private void AddCode(object obj)
 {
     CurrentCode = _hourCodeProvider.Add("000", "NewCode");
 }