예제 #1
0
        private async Task ExecuteSaveCommand()
        {
            IsAddingNew = true;

            var idea = new Idea {
                Text = IdeaText
            };

            await _ideaService.AddIdeaAsync(idea);

            GotoIdeasCommand.Execute(null);

            IsAddingNew = false;
            IdeaText    = string.Empty;

            RaisePropertyChanged();
        }