Przeglądaj źródła

Listing Fee Update

master
30117125 4 lat temu
rodzic
commit
21a3b38c74

+ 2
- 1
UnivateProperties_API/Repository/Financial/ListingRepository.cs Wyświetl plik

@@ -36,7 +36,8 @@ namespace UnivateProperties_API.Repository.Financial
36 36
                 else
37 37
                 {
38 38
                     fee.Id = 1;
39
-                    _dbContext.ListingFees.Update(fee);
39
+                    hasFee.Amount = fee.Amount;
40
+                    _dbContext.ListingFees.Update(hasFee);
40 41
                     _dbContext.SaveChanges();
41 42
                     return fee;
42 43
                 }

Ładowanie…
Anuluj
Zapisz