aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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