private void CreateTaskItems()
        {
            if (Settings.IsVerified)
            {
                var wis    = _tfsRepository.GetWorkItemStore();
                var wic    = _tfsRepository.GetListOfBacklogItemsWithoutWork(wis, Settings, Settings);
                var result = _tfsRepository.AddTaskToEachBackLogItemInWorkItemCollection(wis, wic, Settings, StoryItems.Where(si => si.IsSelected).ToList <IBackLogItem>());
                Settings.IsVerified = false;

                if (result.Count > 0)
                {
                    ActionState         = String.Format("{0} new tasks have been created.", result);
                    Settings.IsVerified = false;
                }
            }
        }
 private void ToggleStoryItemSelection(object storyItem) // StoryItem is always null. Parameter isn't getting passed correctly.
 {
     ((StoryItem)storyItem).IsSelected = !((StoryItem)storyItem).IsSelected;
     // RaisePropertyChangedEvent("StoryItems");
     Settings.IsVerified = StoryItems.Where(s => s.IsSelected).Any();
 }