private void ExecuteNewTagCommand() { var tag = new Tag { Name = NewTagName, Project = ProjectList.CurrentProject.Model, Color = NewTagColor.ToString(CultureInfo.InvariantCulture).Substring(3) }; TagRepo.Add(tag); ProjectList.AddTag(tag); Tags.Add(new TagViewModel(tag)); Reset(); MessengerInstance.Send(new TagAddedMessage(tag)); }