aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Adamonis <dona0169@edu.easj.dk>2017-06-15 01:14:10 +0200
committerDonatas Adamonis <dona0169@edu.easj.dk>2017-06-15 01:14:10 +0200
commit5607afbb758d0ffed799414245e48efef01dfd80 (patch)
treefc02e65df9e32bb67ee782d9df14c4ceab42ef68
parent867a8f5c00c93b91f466f94268c57a8d16168359 (diff)
asss
-rw-r--r--ApartmentManager/ApartmentManager/Handler/ApartmentHandler.cs2
-rw-r--r--ApartmentManager/HousingWebApi/App_Data/housingdb.mdfbin8388608 -> 8388608 bytes
-rw-r--r--ApartmentManager/HousingWebApi/App_Data/housingdb_log.ldfbin8388608 -> 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
index 44d8031..48d0eee 100644
--- a/ApartmentManager/HousingWebApi/App_Data/housingdb.mdf
+++ b/ApartmentManager/HousingWebApi/App_Data/housingdb.mdf
Binary files differ
diff --git a/ApartmentManager/HousingWebApi/App_Data/housingdb_log.ldf b/ApartmentManager/HousingWebApi/App_Data/housingdb_log.ldf
index 331f234..0edcd23 100644
--- a/ApartmentManager/HousingWebApi/App_Data/housingdb_log.ldf
+++ b/ApartmentManager/HousingWebApi/App_Data/housingdb_log.ldf
Binary files differ