Browse Source

Updated change of ownership for timeshare

master
30117125 4 years ago
parent
commit
e95ad79e9b
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      UnivateProperties_API/Repository/Timeshare/WeekRepository.cs

+ 4
- 1
UnivateProperties_API/Repository/Timeshare/WeekRepository.cs View File

@@ -409,7 +409,10 @@ namespace UnivateProperties_API.Repository.Timeshare
409 409
             {
410 410
                 saved.BankedWith = item.BankedWith;
411 411
             }
412
-
412
+            if (saved.OwnerId != item.OwnerId)
413
+            {
414
+                saved.OwnerId = item.OwnerId;
415
+            }
413 416
 
414 417
             if (saved.DisplayOwner != item.DisplayOwner)
415 418
             {

Loading…
Cancel
Save