diff options
author | Donatas Adamonis <dona0169@edu.easj.dk> | 2017-05-23 20:03:47 +0200 |
---|---|---|
committer | Donatas Adamonis <dona0169@edu.easj.dk> | 2017-05-23 20:03:47 +0200 |
commit | 2b9e3824f4a4579c45058fdd895d63ad2cea16ce (patch) | |
tree | 66170fa045942a3308099c99fc69f7bc98e231e3 | |
parent | 09c247c6a72a59076b8a05bcad9fd8ef169d9a96 (diff) |
w
-rw-r--r-- | ApartmentManager/ApartmentManager/Handler/ApartmentHandler.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ApartmentManager/ApartmentManager/Handler/ApartmentHandler.cs b/ApartmentManager/ApartmentManager/Handler/ApartmentHandler.cs index 61fd912..aa5f415 100644 --- a/ApartmentManager/ApartmentManager/Handler/ApartmentHandler.cs +++ b/ApartmentManager/ApartmentManager/Handler/ApartmentHandler.cs @@ -173,7 +173,9 @@ namespace ApartmentManager.Handler try { ApartmentViewModel.UserSingleton.CurrentUser.Picture = await ImgurPhotoUploader.UploadPhotoAsync(); - + var tmp = ApartmentViewModel.UserSingleton.CurrentUser; + ApartmentViewModel.UserSingleton.CurrentUser = new User(); + ApartmentViewModel.UserSingleton.CurrentUser = tmp; } catch (Exception e) { |