Ejemplo n.º 1
0
        // Delete Developer
        private void DeleteDeveloper()
        {
            DisplayAllDevelopers();
            Console.WriteLine("Enter the id of the developer you would like to delete");
            int  input   = int.Parse(Console.ReadLine());
            bool success = _devRepo.DeleteDeveloper(input);

            if (success)
            {
                Console.WriteLine("Developer successfully deleted");
            }
            else
            {
                Console.WriteLine("There was a problem deleting the developer");
            }
        }