private void RemoveTag() { Author author = _authorRepository.Get(_authorId); Console.WriteLine($"Which tag would you like to remove from {author.FullName}?"); List <Tag> tags = author.Tags; for (int i = 0; i < tags.Count; i++) { Tag tag = tags[i]; Console.WriteLine($" {i + 1}) {tag.Name}"); } Console.Write("> "); string input = Console.ReadLine(); try { int choice = int.Parse(input); Tag tag = tags[choice - 1]; _authorRepository.DeleteTag(author.Id, tag.Id); } catch (Exception ex) { Console.WriteLine("Invalid Selection. Won't remove any tags."); } }