diff options
author | Donatas Adamonis <dona0169@edu.easj.dk> | 2017-06-15 01:14:10 +0200 |
---|---|---|
committer | Donatas Adamonis <dona0169@edu.easj.dk> | 2017-06-15 01:14:10 +0200 |
commit | 5607afbb758d0ffed799414245e48efef01dfd80 (patch) | |
tree | fc02e65df9e32bb67ee782d9df14c4ceab42ef68 | |
parent | 867a8f5c00c93b91f466f94268c57a8d16168359 (diff) |
asss
-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 |