Пример #1
0
 private void handleUpdate(UpdateLocuriResponse response)
 {
     try
     {
         client.updateNrLocuri(response.UpdateDto);
     }
     catch (ServicesException e)
     {
         Console.WriteLine(e.StackTrace);
     }
 }
Пример #2
0
        public void updateNrLocuri(object updateDTO)
        {
            UpdateLocuriResponse updateResponse = new UpdateLocuriResponse((UpdateDTO)updateDTO);

            Console.WriteLine("update...");
            try
            {
                sendResponse(updateResponse);
            }
            catch (Exception e)
            {
                Console.WriteLine(e.StackTrace);
            }
        }