diff options
-rw-r--r-- | ApartmentManager/ApartmentManager/Handler/ApartmentHandler.cs | 2 | ||||
-rw-r--r-- | ApartmentManager/HousingWebApi/App_Data/housingdb.mdf | bin | 8388608 -> 8388608 bytes | |||
-rw-r--r-- | ApartmentManager/HousingWebApi/App_Data/housingdb_log.ldf | bin | 8388608 -> 8388608 bytes |
3 files changed, 2 insertions, 0 deletions
diff --git a/ApartmentManager/ApartmentManager/Handler/ApartmentHandler.cs b/ApartmentManager/ApartmentManager/Handler/ApartmentHandler.cs index 42a1ccc..24e27eb 100644 --- a/ApartmentManager/ApartmentManager/Handler/ApartmentHandler.cs +++ b/ApartmentManager/ApartmentManager/Handler/ApartmentHandler.cs @@ -82,6 +82,7 @@ namespace ApartmentManager.Handler var response = ApiClient.PostData("api/residents/", resident); } GetApartmentResidents(); + ApartmentViewModel.NewResident = new Resident(); } catch (Exception e) { @@ -97,6 +98,7 @@ namespace ApartmentManager.Handler resident.ApartmentId = ApartmentViewModel.UserSingleton.CurrentUser.ApartmentId; ApiClient.DeleteData("api/residents/" + resident.ResidentId); GetApartmentResidents(); + ApartmentViewModel.NewResident = new Resident(); } catch (Exception e) { diff --git a/ApartmentManager/HousingWebApi/App_Data/housingdb.mdf b/ApartmentManager/HousingWebApi/App_Data/housingdb.mdf Binary files differindex 44d8031..48d0eee 100644 --- a/ApartmentManager/HousingWebApi/App_Data/housingdb.mdf +++ b/ApartmentManager/HousingWebApi/App_Data/housingdb.mdf diff --git a/ApartmentManager/HousingWebApi/App_Data/housingdb_log.ldf b/ApartmentManager/HousingWebApi/App_Data/housingdb_log.ldf Binary files differindex 331f234..0edcd23 100644 --- a/ApartmentManager/HousingWebApi/App_Data/housingdb_log.ldf +++ b/ApartmentManager/HousingWebApi/App_Data/housingdb_log.ldf |