Browse Source

Listing Fee Update

master
30117125 4 years ago
parent
commit
21a3b38c74
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      UnivateProperties_API/Repository/Financial/ListingRepository.cs

+ 2
- 1
UnivateProperties_API/Repository/Financial/ListingRepository.cs View File

36
                 else
36
                 else
37
                 {
37
                 {
38
                     fee.Id = 1;
38
                     fee.Id = 1;
39
-                    _dbContext.ListingFees.Update(fee);
39
+                    hasFee.Amount = fee.Amount;
40
+                    _dbContext.ListingFees.Update(hasFee);
40
                     _dbContext.SaveChanges();
41
                     _dbContext.SaveChanges();
41
                     return fee;
42
                     return fee;
42
                 }
43
                 }

Loading…
Cancel
Save