コード例 #1
0
ファイル: Program.cs プロジェクト: aly-ba/rest-web-api-wcf
        private static void DeletePun(int index)
        {
            Console.WriteLine("---------------");
            Console.Write("Are you sure you want to delete this pun? (Y/N) ");
            var input = Console.ReadLine().ToUpper();

            if (input == "Y")
            {
                _service.DeletePun(index);
            }
        }
コード例 #2
0
 public void DeletePun(int id)
 {
     _service.DeletePun(id);
 }
コード例 #3
0
 public void DeletePun(int punID)
 {
     _service.DeletePun(punID);
 }