Beispiel #1
0
        public void deleteKunde(int id)
        {
            WriteActualMethod();

            try
            {
                _kundenManager.deleteKunde(id);
            }
            catch (InvalidOperationException)
            {
                OutOfRangeFault fault = new OutOfRangeFault()
                {
                    Operation = "delete"
                };

                throw new FaultException <OutOfRangeFault>(fault);
            }
        }