diff --git a/WD7UVN_HFT_2023241.Client/CRUD.cs b/WD7UVN_HFT_2023241.Client/CRUD.cs index 45b0e25..e4a22b5 100644 --- a/WD7UVN_HFT_2023241.Client/CRUD.cs +++ b/WD7UVN_HFT_2023241.Client/CRUD.cs @@ -536,6 +536,10 @@ namespace WD7UVN_HFT_2023241.Client }; RestService.Post(c, "/api/Customer/"); + + Console.WriteLine("\nSuccessfully updated Customer with ID {0}", id); + Console.WriteLine("Press any key to continue."); + Console.ReadKey(); } catch (FormatException) { @@ -593,6 +597,10 @@ namespace WD7UVN_HFT_2023241.Client }; RestService.Post(c, "/api/Employee/"); + + Console.WriteLine("\nSuccessfully updated Employee with ID {0}", id); + Console.WriteLine("Press any key to continue."); + Console.ReadKey(); } catch (FormatException) { @@ -666,6 +674,10 @@ namespace WD7UVN_HFT_2023241.Client }; RestService.Post(c, "/api/Service/"); + + Console.WriteLine("\nSuccessfully updated Service with ID {0}", id); + Console.WriteLine("Press any key to continue."); + Console.ReadKey(); } catch (FormatException) { @@ -714,6 +726,10 @@ namespace WD7UVN_HFT_2023241.Client }; RestService.Post(c, "/api/MaintainerTeam/"); + + Console.WriteLine("\nSuccessfully updated Team with ID {0}", id); + Console.WriteLine("Press any key to continue."); + Console.ReadKey(); } catch (FormatException) {