[2025-09-21 00:45:09 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 00:45:09 INF] CORS policy execution successful. [2025-09-21 00:45:09 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 4.1668ms [2025-09-21 01:04:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/.env - - [2025-09-21 01:04:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/.env - - - 404 0 - 0.2604ms [2025-09-21 01:04:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/.env.save - - [2025-09-21 01:04:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/.env.save - - - 404 0 - 0.1759ms [2025-09-21 01:04:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/.env.prod - - [2025-09-21 01:04:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/.env.prod - - - 404 0 - 0.1914ms [2025-09-21 01:04:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/.env - - [2025-09-21 01:04:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/.env - - - 404 0 - 0.1673ms [2025-09-21 01:04:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/dev/.env - - [2025-09-21 01:04:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/dev/.env - - - 404 0 - 0.1515ms [2025-09-21 01:04:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/application/.env - - [2025-09-21 01:04:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/application/.env - - - 404 0 - 0.1798ms [2025-09-21 01:04:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/phpinfo.php - - [2025-09-21 01:04:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/phpinfo.php - - - 404 0 - 0.1823ms [2025-09-21 01:04:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/phpinfo - - [2025-09-21 01:04:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/phpinfo - - - 404 0 - 0.1901ms [2025-09-21 01:04:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/php_info.php - - [2025-09-21 01:04:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/php_info.php - - - 404 0 - 0.1614ms [2025-09-21 01:04:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/_profiler/phpinfo - - [2025-09-21 01:04:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/_profiler/phpinfo - - - 404 0 - 0.1761ms [2025-09-21 01:04:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/backend/.env - - [2025-09-21 01:04:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/backend/.env - - - 404 0 - 0.1609ms [2025-09-21 01:04:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/.env.example - - [2025-09-21 01:04:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/.env.example - - - 404 0 - 0.1798ms [2025-09-21 01:04:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/admin/.env - - [2025-09-21 01:04:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/admin/.env - - - 404 0 - 0.1962ms [2025-09-21 01:04:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/info - - [2025-09-21 01:04:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/info - - - 404 0 - 0.1581ms [2025-09-21 01:04:50 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/ application/x-www-form-urlencoded 21 [2025-09-21 01:04:50 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/ application/x-www-form-urlencoded 21 - 404 0 - 0.1711ms [2025-09-21 07:40:17 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-09-21 07:40:17 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 0.2000ms [2025-09-21 08:31:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 08:31:57 INF] CORS policy execution successful. [2025-09-21 08:31:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.3002ms [2025-09-21 08:45:13 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 08:45:13 INF] CORS policy execution successful. [2025-09-21 08:45:13 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2135ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=6 - - - 204 - - 0.2066ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=6 - - - 204 - - 0.1146ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=6 - - - 204 - - 0.1351ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=6 - - - 204 - - 0.1170ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1166ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=6 - - - 204 - - 0.0824ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=6 - - - 204 - - 0.2255ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=6 - - - 204 - - 0.1363ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1256ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=6 - - - 204 - - 0.0963ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1488ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=6 - - - 204 - - 0.1545ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2898ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=6 - - [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 10:19:57 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 10:19:57 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 10:19:57 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 10:19:57 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 10:19:57 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-21 10:19:57 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 10:19:57 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-21 10:19:57 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 10:19:57 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-21 10:19:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:19:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:19:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:19:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:19:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:19:57 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 10:19:57 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-21 10:19:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:19:57 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:19:57 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-21 10:19:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:19:57 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 83.9166ms [2025-09-21 10:19:57 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=6 - - - 200 - application/json;+charset=utf-8 89.4230ms [2025-09-21 10:19:57 INF] Executed DbCommand (38ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 10:19:57 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 10:19:57 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 84.7568ms [2025-09-21 10:19:57 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=6 - - - 200 - application/json;+charset=utf-8 91.7951ms [2025-09-21 10:19:57 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:19:57 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-21 10:19:57 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:19:57 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:19:57 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-21 10:19:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:19:57 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 58.1578ms [2025-09-21 10:19:57 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=6 - - - 200 - application/json;+charset=utf-8 58.8107ms [2025-09-21 10:19:57 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:19:57 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-21 10:19:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:19:57 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 108.7283ms [2025-09-21 10:19:57 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=6 - - - 200 - application/json;+charset=utf-8 114.0450ms [2025-09-21 10:19:57 INF] Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 10:19:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 10:19:57 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 10:19:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:19:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:19:57 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 150.6939ms [2025-09-21 10:19:57 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=6 - - - 200 - application/json;+charset=utf-8 158.4611ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 10:19:57 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 10:19:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:19:57 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:19:57 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-21 10:19:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:19:57 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 17.7665ms [2025-09-21 10:19:57 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=6 - - - 200 - application/json;+charset=utf-8 18.2851ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 10:19:57 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-21 10:19:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:19:57 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:19:57 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 10:19:57 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 10:19:57 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-21 10:19:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:19:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:19:57 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 36.6903ms [2025-09-21 10:19:57 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=6 - - - 200 - application/json;+charset=utf-8 37.1892ms [2025-09-21 10:19:57 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-21 10:19:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:19:57 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 29.8638ms [2025-09-21 10:19:57 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 30.5180ms [2025-09-21 10:19:57 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 196.3505ms [2025-09-21 10:19:57 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 202.9949ms [2025-09-21 10:19:57 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:19:57 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-21 10:19:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:19:57 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 18.7051ms [2025-09-21 10:19:57 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=6 - - - 200 - application/json;+charset=utf-8 19.2449ms [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 10:19:57 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 10:19:57 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-21 10:19:57 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 10:19:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:19:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:19:57 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:19:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=6 - - [2025-09-21 10:19:57 INF] CORS policy execution successful. [2025-09-21 10:19:57 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 10:19:57 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 10:19:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:19:57 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:19:57 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-21 10:19:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:19:57 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 20.6803ms [2025-09-21 10:19:57 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 21.3557ms [2025-09-21 10:19:57 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 10:19:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:19:57 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 31.8285ms [2025-09-21 10:19:57 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 32.5261ms [2025-09-21 10:19:57 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:19:57 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 10:19:57 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 10:19:57 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 22.6641ms [2025-09-21 10:19:57 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 10:19:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=6 - - - 200 - application/json;+charset=utf-8 23.4481ms [2025-09-21 10:20:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/getById?id=2771 - - [2025-09-21 10:20:06 INF] CORS policy execution successful. [2025-09-21 10:20:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/getById?id=2771 - - - 204 - - 0.3790ms [2025-09-21 10:20:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/getById?id=2771 - - [2025-09-21 10:20:06 INF] CORS policy execution successful. [2025-09-21 10:20:06 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetById (Web)' [2025-09-21 10:20:06 INF] Route matched with {action = "GetById", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-21 10:20:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:20:06 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:20:06 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" WHERE t."Id" = @__id_0 LIMIT 1 [2025-09-21 10:20:06 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Transactions.TransactionVM'. [2025-09-21 10:20:06 INF] Executed action Web.Controllers.API.TransactionController.GetById (Web) in 16.5131ms [2025-09-21 10:20:06 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetById (Web)' [2025-09-21 10:20:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/getById?id=2771 - - - 200 - application/json;+charset=utf-8 17.0817ms [2025-09-21 10:20:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/update - - [2025-09-21 10:20:27 INF] CORS policy execution successful. [2025-09-21 10:20:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/update - - - 204 - - 0.2422ms [2025-09-21 10:20:27 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/transaction/update application/json 201 [2025-09-21 10:20:27 INF] CORS policy execution successful. [2025-09-21 10:20:27 INF] Executing endpoint 'Web.Controllers.API.TransactionController.Update (Web)' [2025-09-21 10:20:27 INF] Route matched with {action = "Update", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Update(Web.Models.API.Transactions.TransactionUpdateVM) on controller Web.Controllers.API.TransactionController (Web). [2025-09-21 10:20:27 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:20:27 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:20:27 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" WHERE t."Id" = @__id_0 LIMIT 1 [2025-09-21 10:20:27 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 10:20:27 INF] Executed action Web.Controllers.API.TransactionController.Update (Web) in 19.3044ms [2025-09-21 10:20:27 INF] Executed endpoint 'Web.Controllers.API.TransactionController.Update (Web)' [2025-09-21 10:20:27 ERR] Connection id "0HNFHGQEU4VMJ", Request id "0HNFHGQEU4VMJ:00000008": An unhandled exception was thrown by the application. System.InvalidOperationException: Nullable object must have a value. at System.Nullable`1.get_Value() at BLL.Services.TransactionService.Update(TransactionUpdateDTO item) in /Users/vhdk/RiderProjects/HMGT/BLL/Services/TransactionService.cs:line 209 at Web.Controllers.API.TransactionController.Update(TransactionUpdateVM item) in /Users/vhdk/RiderProjects/HMGT/Web/Controllers/API/TransactionController.cs:line 109 at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application) [2025-09-21 10:20:27 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/transaction/update application/json 201 - 500 0 - 42.9794ms [2025-09-21 10:20:47 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/update - - [2025-09-21 10:20:47 INF] CORS policy execution successful. [2025-09-21 10:20:47 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/update - - - 204 - - 0.2019ms [2025-09-21 10:20:47 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/transaction/update application/json 201 [2025-09-21 10:20:47 INF] CORS policy execution successful. [2025-09-21 10:20:47 INF] Executing endpoint 'Web.Controllers.API.TransactionController.Update (Web)' [2025-09-21 10:20:47 INF] Route matched with {action = "Update", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Update(Web.Models.API.Transactions.TransactionUpdateVM) on controller Web.Controllers.API.TransactionController (Web). [2025-09-21 10:20:47 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:20:47 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:20:47 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" WHERE t."Id" = @__id_0 LIMIT 1 [2025-09-21 10:20:47 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 10:20:47 INF] Executed action Web.Controllers.API.TransactionController.Update (Web) in 21.3229ms [2025-09-21 10:20:47 INF] Executed endpoint 'Web.Controllers.API.TransactionController.Update (Web)' [2025-09-21 10:20:47 ERR] Connection id "0HNFHGQEU4VMJ", Request id "0HNFHGQEU4VMJ:0000000A": An unhandled exception was thrown by the application. System.InvalidOperationException: Nullable object must have a value. at System.Nullable`1.get_Value() at BLL.Services.TransactionService.Update(TransactionUpdateDTO item) in /Users/vhdk/RiderProjects/HMGT/BLL/Services/TransactionService.cs:line 209 at Web.Controllers.API.TransactionController.Update(TransactionUpdateVM item) in /Users/vhdk/RiderProjects/HMGT/Web/Controllers/API/TransactionController.cs:line 109 at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application) [2025-09-21 10:20:47 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/transaction/update application/json 201 - 500 0 - 24.1458ms [2025-09-21 10:23:35 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 10:23:35 INF] CORS policy execution successful. [2025-09-21 10:23:35 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.3106ms [2025-09-21 10:23:35 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 10:23:35 INF] CORS policy execution successful. [2025-09-21 10:23:35 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 10:23:35 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 10:23:35 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:35 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:35 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 10:23:35 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 10:23:35 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:35 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 258.3954ms [2025-09-21 10:23:35 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 10:23:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 259.0343ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=190 - - - 204 - - 0.2137ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=190 - - - 204 - - 0.0978ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1296ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=190 - - - 204 - - 0.0604ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=190 - - - 204 - - 0.0553ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=190 - - - 204 - - 0.0960ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=190 - - - 204 - - 0.1957ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=190 - - - 204 - - 0.0551ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=190 - - - 204 - - 0.1234ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0511ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=190 - - - 204 - - 0.0668ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0951ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1744ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 10:23:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-21 10:23:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:41 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-21 10:23:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:41 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 54.17ms [2025-09-21 10:23:41 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=190 - - - 200 - application/json;+charset=utf-8 54.6004ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 10:23:41 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 10:23:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 10:23:41 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 10:23:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 10:23:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-21 10:23:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:41 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-21 10:23:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:41 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 12.32ms [2025-09-21 10:23:41 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=190 - - - 200 - application/json;+charset=utf-8 12.7765ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 10:23:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-21 10:23:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:41 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-21 10:23:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:41 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 11.852ms [2025-09-21 10:23:41 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=190 - - - 200 - application/json;+charset=utf-8 12.2645ms [2025-09-21 10:23:41 INF] Executed DbCommand (39ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 10:23:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:41 INF] Executed DbCommand (45ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 10:23:41 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 10:23:41 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 58.2876ms [2025-09-21 10:23:41 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=190 - - - 200 - application/json;+charset=utf-8 58.8233ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 10:23:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-21 10:23:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:41 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:41 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-21 10:23:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:41 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 12.4342ms [2025-09-21 10:23:41 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=190 - - - 200 - application/json;+charset=utf-8 12.8014ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 10:23:41 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 10:23:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:41 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:41 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 10:23:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:41 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 31.1256ms [2025-09-21 10:23:41 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=190 - - - 200 - application/json;+charset=utf-8 31.5560ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 10:23:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-21 10:23:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-21 10:23:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:41 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 12.9638ms [2025-09-21 10:23:41 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=190 - - - 200 - application/json;+charset=utf-8 13.3889ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 10:23:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 10:23:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:41 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-21 10:23:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:41 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 13.8904ms [2025-09-21 10:23:41 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=190 - - - 200 - application/json;+charset=utf-8 14.2759ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 10:23:41 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 10:23:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:41 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 10:23:41 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-21 10:23:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 10:23:41 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-21 10:23:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:41 INF] Executed DbCommand (27ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 10:23:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:41 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 49.1357ms [2025-09-21 10:23:41 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 49.4863ms [2025-09-21 10:23:41 INF] Executed DbCommand (22ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-21 10:23:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:41 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 33.5707ms [2025-09-21 10:23:41 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 33.9288ms [2025-09-21 10:23:41 INF] Executed DbCommand (10ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-21 10:23:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:41 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 24.5156ms [2025-09-21 10:23:41 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 24.9234ms [2025-09-21 10:23:41 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 198.8167ms [2025-09-21 10:23:41 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 199.2602ms [2025-09-21 10:23:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=190 - - [2025-09-21 10:23:41 INF] CORS policy execution successful. [2025-09-21 10:23:41 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 10:23:41 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 10:23:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:41 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:41 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 10:23:41 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 10:23:41 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 15.6719ms [2025-09-21 10:23:41 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 10:23:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=190 - - - 200 - application/json;+charset=utf-8 16.0502ms [2025-09-21 10:23:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContractByLandlordId?landlordId=214 - - [2025-09-21 10:23:43 INF] CORS policy execution successful. [2025-09-21 10:23:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContractByLandlordId?landlordId=214 - - - 204 - - 0.2580ms [2025-09-21 10:23:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getById?id=214 - - [2025-09-21 10:23:43 INF] CORS policy execution successful. [2025-09-21 10:23:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getById?id=214 - - - 204 - - 0.0782ms [2025-09-21 10:23:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByLandlordId?landlordId=214 - - [2025-09-21 10:23:43 INF] CORS policy execution successful. [2025-09-21 10:23:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByLandlordId?landlordId=214 - - - 204 - - 0.0657ms [2025-09-21 10:23:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getById?id=214 - - [2025-09-21 10:23:43 INF] CORS policy execution successful. [2025-09-21 10:23:43 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetByID (Web)' [2025-09-21 10:23:43 INF] Route matched with {action = "GetByID", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetByID(Int32) on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 10:23:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:43 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:43 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" [2025-09-21 10:23:43 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Landlords.LandlordVM'. [2025-09-21 10:23:43 INF] Executed action Web.Controllers.API.LandlordController.GetByID (Web) in 13.8049ms [2025-09-21 10:23:43 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetByID (Web)' [2025-09-21 10:23:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getById?id=214 - - - 200 - application/json;+charset=utf-8 14.3329ms [2025-09-21 10:23:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContractByLandlordId?landlordId=214 - - [2025-09-21 10:23:43 INF] CORS policy execution successful. [2025-09-21 10:23:43 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContractByLandlordId (Web)' [2025-09-21 10:23:43 INF] Route matched with {action = "GetAllWithActualContractByLandlordId", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContractByLandlordId(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 10:23:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:43 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:43 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 10:23:43 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:43 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContractByLandlordId (Web) in 35.8223ms [2025-09-21 10:23:43 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContractByLandlordId (Web)' [2025-09-21 10:23:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContractByLandlordId?landlordId=214 - - - 200 - application/json;+charset=utf-8 36.2038ms [2025-09-21 10:23:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByLandlordId?landlordId=214 - - [2025-09-21 10:23:43 INF] CORS policy execution successful. [2025-09-21 10:23:43 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByLandlordId (Web)' [2025-09-21 10:23:43 INF] Route matched with {action = "GetAllByLandlordId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByLandlordId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-21 10:23:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:43 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:43 INF] Executed DbCommand (33ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type", t1."Id", t1."CreateTime", t1."EmployeeId", t1."EndDate", t1."FlatId", t1."HGMTFee", t1."RentPrice", t1."StartDate", t1."Status", t1."TenantId", t1."Id0", t1."CreateTime0", t1."Email", t1."ExpiresAt", t1."FirstName", t1."LastName", t1."PasswordHash", t1."PhoneNumber", t1."RefreshToken", t1."Role", t1."Salt", t1."Status0", t1."UpdateTime", t1."Comment", e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title", i."Id", i."CreateTime", i."EmployeeId", i."FlatId", m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value", e0."Id", e0."AccountNumber", e0."Comment", e0."CreateTime", e0."FlatId", e0."StartDate", e0."Status", e0."Type", e0."UpdateTime", e0."Value", i0."Id", i0."Comment", i0."CreateTime", i0."Description", i0."EndTime", i0."FlatId", i0."Status", i0."Title", i0."Value" FROM "Flats" AS f LEFT JOIN "Agreements" AS a ON f."Id" = a."FlatId" LEFT JOIN ( SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", t0."Id" AS "Id0", t0."CreateTime" AS "CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status" AS "Status0", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" ) AS t0 ON r."TenantId" = t0."Id" ) AS t1 ON f."Id" = t1."FlatId" LEFT JOIN "Equipments" AS e ON f."Id" = e."FlatId" LEFT JOIN "Inspections" AS i ON f."Id" = i."FlatId" LEFT JOIN "Meters" AS m ON f."Id" = m."FlatId" LEFT JOIN "Expenses" AS e0 ON f."Id" = e0."FlatId" LEFT JOIN "Invoices" AS i0 ON f."Id" = i0."FlatId" ORDER BY f."Id", a."Id", t1."Id", t1."Id0", e."Id", i."Id", m."Id", e0."Id" [2025-09-21 10:23:43 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:43 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByLandlordId (Web) in 139.2888ms [2025-09-21 10:23:43 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByLandlordId (Web)' [2025-09-21 10:23:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByLandlordId?landlordId=214 - - - 200 - application/json;+charset=utf-8 139.6742ms [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=189 - - [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=189 - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=189 - - - 204 - - 0.3391ms [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=189 - - - 204 - - 0.3703ms [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=189 - - [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=189 - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=189 - - - 204 - - 0.2339ms [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=189 - - - 204 - - 0.2187ms [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=189 - - [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=189 - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=189 - - - 204 - - 0.1953ms [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=189 - - - 204 - - 0.1928ms [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=189 - - [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=189 - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=189 - - - 204 - - 0.2942ms [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=189 - - - 204 - - 0.3639ms [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=189 - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=189 - - - 204 - - 0.2589ms [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 10:23:46 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 10:23:46 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 10:23:46 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 10:23:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 10:23:46 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-21 10:23:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:46 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 10:23:46 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:46 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 10:23:46 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-21 10:23:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=189 - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 10:23:46 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 10:23:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:46 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=189 - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 10:23:46 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-21 10:23:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-21 10:23:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:46 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 22.4832ms [2025-09-21 10:23:46 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 23.6557ms [2025-09-21 10:23:46 INF] Executed DbCommand (14ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-21 10:23:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:46 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 62.5607ms [2025-09-21 10:23:46 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 63.1413ms [2025-09-21 10:23:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:46 INF] Executed DbCommand (3ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 10:23:46 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 10:23:46 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 30.111ms [2025-09-21 10:23:46 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 10:23:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:46 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 64.0317ms [2025-09-21 10:23:46 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 66.1743ms [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=189 - - - 200 - application/json;+charset=utf-8 30.8847ms [2025-09-21 10:23:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-21 10:23:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:46 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 63.2826ms [2025-09-21 10:23:46 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=189 - - - 200 - application/json;+charset=utf-8 71.8658ms [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=189 - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 10:23:46 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-21 10:23:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:46 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-21 10:23:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:46 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 12.3439ms [2025-09-21 10:23:46 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=189 - - - 200 - application/json;+charset=utf-8 12.7835ms [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=189 - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 10:23:46 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-21 10:23:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:46 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-21 10:23:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:46 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 11.4882ms [2025-09-21 10:23:46 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=189 - - - 200 - application/json;+charset=utf-8 11.9491ms [2025-09-21 10:23:46 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 144.0075ms [2025-09-21 10:23:46 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 144.3189ms [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=189 - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 10:23:46 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-21 10:23:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:46 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-21 10:23:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:46 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 12.4506ms [2025-09-21 10:23:46 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=189 - - - 200 - application/json;+charset=utf-8 12.9959ms [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=189 - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 10:23:46 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 10:23:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:46 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-21 10:23:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:46 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 15.7433ms [2025-09-21 10:23:46 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=189 - - - 200 - application/json;+charset=utf-8 16.1373ms [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=189 - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 10:23:46 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 10:23:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:46 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:46 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 10:23:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:46 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 29.656ms [2025-09-21 10:23:46 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=189 - - - 200 - application/json;+charset=utf-8 30.1334ms [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=189 - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 10:23:46 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-21 10:23:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-21 10:23:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:23:46 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 14.0039ms [2025-09-21 10:23:46 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=189 - - - 200 - application/json;+charset=utf-8 14.3463ms [2025-09-21 10:23:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=189 - - [2025-09-21 10:23:46 INF] CORS policy execution successful. [2025-09-21 10:23:46 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 10:23:46 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 10:23:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:23:46 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:23:46 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 10:23:46 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 10:23:46 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 14.4308ms [2025-09-21 10:23:46 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 10:23:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=189 - - - 200 - application/json;+charset=utf-8 14.8856ms [2025-09-21 10:26:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 10:26:48 INF] CORS policy execution successful. [2025-09-21 10:26:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2316ms [2025-09-21 10:38:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 10:38:29 INF] CORS policy execution successful. [2025-09-21 10:38:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2486ms [2025-09-21 10:38:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 10:38:30 INF] CORS policy execution successful. [2025-09-21 10:38:30 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 10:38:30 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 10:38:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:38:30 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:38:30 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 10:38:30 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 10:38:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:38:30 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 61.5217ms [2025-09-21 10:38:30 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 10:38:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 62.1272ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=254 - - - 204 - - 0.1872ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=254 - - - 204 - - 0.0614ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=254 - - - 204 - - 0.1924ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=254 - - - 204 - - 0.0856ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1178ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=254 - - - 204 - - 0.0903ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=254 - - - 204 - - 0.1918ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=254 - - - 204 - - 0.0723ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2974ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=254 - - - 204 - - 0.1001ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1330ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=254 - - - 204 - - 0.0831ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 10:38:37 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 10:38:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1717ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 10:38:37 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-21 10:38:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 10:38:37 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 10:38:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 10:38:37 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-21 10:38:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 10:38:37 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-21 10:38:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:38:37 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:38:37 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 10:38:37 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-21 10:38:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:38:37 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:38:37 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:38:37 INF] Executed DbCommand (14ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 10:38:37 INF] Executed DbCommand (9ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 10:38:37 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 10:38:37 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 91.0536ms [2025-09-21 10:38:37 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=254 - - - 200 - application/json;+charset=utf-8 91.6391ms [2025-09-21 10:38:37 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:38:37 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-21 10:38:37 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:38:37 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 59.3053ms [2025-09-21 10:38:37 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=254 - - - 200 - application/json;+charset=utf-8 59.7611ms [2025-09-21 10:38:37 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:38:37 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-21 10:38:37 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:38:37 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 85.8674ms [2025-09-21 10:38:37 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=254 - - - 200 - application/json;+charset=utf-8 86.6067ms [2025-09-21 10:38:37 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:38:37 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-21 10:38:37 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:38:37 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:38:37 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 90.2897ms [2025-09-21 10:38:37 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=254 - - - 200 - application/json;+charset=utf-8 90.7816ms [2025-09-21 10:38:37 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:38:37 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 121.5198ms [2025-09-21 10:38:37 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=254 - - - 200 - application/json;+charset=utf-8 121.9932ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 10:38:37 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 10:38:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:38:37 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:38:37 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 10:38:37 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:38:37 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 24.7953ms [2025-09-21 10:38:37 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=254 - - - 200 - application/json;+charset=utf-8 25.2165ms [2025-09-21 10:38:37 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 144.2234ms [2025-09-21 10:38:37 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 144.7061ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 10:38:37 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 10:38:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:38:37 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:38:37 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-21 10:38:37 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:38:37 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 14.4942ms [2025-09-21 10:38:37 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=254 - - - 200 - application/json;+charset=utf-8 14.9726ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=254 - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 10:38:37 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-21 10:38:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:38:37 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:38:37 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-21 10:38:37 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:38:37 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 13.0391ms [2025-09-21 10:38:37 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 10:38:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=254 - - - 200 - application/json;+charset=utf-8 13.4930ms [2025-09-21 10:38:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 10:38:37 INF] CORS policy execution successful. [2025-09-21 10:38:37 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 10:38:37 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 10:38:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:38:38 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:38:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 10:38:38 INF] CORS policy execution successful. [2025-09-21 10:38:38 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 10:38:38 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-21 10:38:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:38:38 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:38:38 INF] Executed DbCommand (14ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 10:38:38 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:38:38 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 33.5447ms [2025-09-21 10:38:38 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 10:38:38 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 33.9379ms [2025-09-21 10:38:38 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-21 10:38:38 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:38:38 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 23.8244ms [2025-09-21 10:38:38 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 10:38:38 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 24.3054ms [2025-09-21 10:38:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 10:38:38 INF] CORS policy execution successful. [2025-09-21 10:38:38 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 10:38:38 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-21 10:38:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:38:38 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:38:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=254 - - [2025-09-21 10:38:38 INF] CORS policy execution successful. [2025-09-21 10:38:38 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 10:38:38 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 10:38:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 10:38:38 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 10:38:38 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 10:38:38 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 10:38:38 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 14.4943ms [2025-09-21 10:38:38 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 10:38:38 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=254 - - - 200 - application/json;+charset=utf-8 14.9202ms [2025-09-21 10:38:38 INF] Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-21 10:38:38 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 10:38:38 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 28.5131ms [2025-09-21 10:38:38 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 10:38:38 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 28.8752ms [2025-09-21 10:38:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFilesZip?entityName=inspections&id=56 - - [2025-09-21 10:38:46 INF] CORS policy execution successful. [2025-09-21 10:38:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFilesZip?entityName=inspections&id=56 - - - 204 - - 0.2200ms [2025-09-21 10:38:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFilesZip?entityName=inspections&id=56 - - [2025-09-21 10:38:46 INF] CORS policy execution successful. [2025-09-21 10:38:46 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFilesZip (Web)' [2025-09-21 10:38:46 INF] Route matched with {action = "GetFilesZip", controller = "File"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetFilesZip(System.String, Int32) on controller Web.Controllers.API.FileController (Web). [2025-09-21 10:38:46 INF] Executing FileStreamResult, sending file with download name 'inspections56.zip' ... [2025-09-21 10:38:46 INF] Executed action Web.Controllers.API.FileController.GetFilesZip (Web) in 43.2943ms [2025-09-21 10:38:46 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFilesZip (Web)' [2025-09-21 10:38:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFilesZip?entityName=inspections&id=56 - - - 200 677803 application/zip 43.9195ms [2025-09-21 11:12:50 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-09-21 11:12:50 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.1908ms [2025-09-21 11:12:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-09-21 11:12:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.1861ms [2025-09-21 12:02:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 12:02:10 INF] CORS policy execution successful. [2025-09-21 12:02:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2673ms [2025-09-21 12:34:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 12:34:53 INF] CORS policy execution successful. [2025-09-21 12:34:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2430ms [2025-09-21 13:29:16 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 13:29:16 INF] CORS policy execution successful. [2025-09-21 13:29:16 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2652ms [2025-09-21 13:44:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 13:44:53 INF] CORS policy execution successful. [2025-09-21 13:44:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2509ms [2025-09-21 13:50:25 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-09-21 13:50:25 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 0.1968ms [2025-09-21 13:53:13 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 13:53:13 INF] CORS policy execution successful. [2025-09-21 13:53:13 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.6594ms [2025-09-21 14:56:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-09-21 14:56:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.1874ms [2025-09-21 14:56:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-09-21 14:56:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.2070ms [2025-09-21 15:33:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 15:33:38 INF] CORS policy execution successful. [2025-09-21 15:33:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2675ms [2025-09-21 16:15:50 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-21 16:15:50 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-21 16:15:50 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.3223ms [2025-09-21 16:15:50 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-21 16:15:50 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-21 16:15:50 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-21 16:15:50 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.1792ms [2025-09-21 16:15:50 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-21 16:15:50 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.7465ms [2025-09-21 16:15:50 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-21 16:15:50 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-21 16:15:50 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.1108ms [2025-09-21 16:15:50 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-21 16:15:50 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-21 16:15:50 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.2322ms [2025-09-21 16:15:50 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-21 16:15:50 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-21 16:15:50 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.2576ms [2025-09-21 16:15:50 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-21 16:15:50 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-21 16:15:50 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.1785ms [2025-09-21 16:15:50 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-21 16:15:50 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-21 16:15:50 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.2365ms [2025-09-21 17:37:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=214 - - [2025-09-21 17:37:38 INF] CORS policy execution successful. [2025-09-21 17:37:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=214 - - - 204 - - 0.2895ms [2025-09-21 17:37:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=214 - - [2025-09-21 17:37:38 INF] CORS policy execution successful. [2025-09-21 17:37:38 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-21 17:37:38 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 17:37:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 17:37:38 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 17:37:38 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 17:37:38 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-21 17:37:38 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 37.3022ms [2025-09-21 17:37:38 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-21 17:37:38 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=214 - - - 200 - application/json;+charset=utf-8 37.8950ms [2025-09-21 18:33:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 18:33:49 INF] CORS policy execution successful. [2025-09-21 18:33:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2629ms [2025-09-21 19:13:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-21 19:13:31 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-21 19:13:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.2868ms [2025-09-21 19:13:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-21 19:13:31 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-21 19:13:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.1352ms [2025-09-21 19:13:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-21 19:13:31 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-21 19:13:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.1881ms [2025-09-21 19:13:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-21 19:13:31 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-21 19:13:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.1872ms [2025-09-21 19:37:56 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 19:37:56 INF] CORS policy execution successful. [2025-09-21 19:37:56 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2167ms [2025-09-21 19:37:56 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 19:37:56 INF] CORS policy execution successful. [2025-09-21 19:37:56 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 19:37:56 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:37:56 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:37:56 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:37:56 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 19:37:56 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 19:37:56 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:37:56 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 65.1311ms [2025-09-21 19:37:56 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 19:37:56 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 65.8069ms [2025-09-21 19:38:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 19:38:02 INF] CORS policy execution successful. [2025-09-21 19:38:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2310ms [2025-09-21 19:38:02 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 19:38:02 INF] CORS policy execution successful. [2025-09-21 19:38:02 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 19:38:02 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 19:38:02 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:38:02 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:38:02 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 19:38:02 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:38:02 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 26.6062ms [2025-09-21 19:38:02 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 19:38:02 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 27.1981ms [2025-09-21 19:38:09 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 19:38:09 INF] CORS policy execution successful. [2025-09-21 19:38:09 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.2215ms [2025-09-21 19:38:09 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 19:38:09 INF] CORS policy execution successful. [2025-09-21 19:38:09 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 19:38:09 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-21 19:38:09 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:38:09 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:38:09 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-21 19:38:09 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:38:09 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 22.3836ms [2025-09-21 19:38:09 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 19:38:09 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 22.9886ms [2025-09-21 19:38:09 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 19:38:09 INF] CORS policy execution successful. [2025-09-21 19:38:09 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2594ms [2025-09-21 19:38:09 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 19:38:09 INF] CORS policy execution successful. [2025-09-21 19:38:09 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 19:38:09 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 19:38:09 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:38:09 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:38:10 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 19:38:10 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:38:10 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 23.5464ms [2025-09-21 19:38:10 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 19:38:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 24.1374ms [2025-09-21 19:40:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/create - - [2025-09-21 19:40:32 INF] CORS policy execution successful. [2025-09-21 19:40:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/create - - - 204 - - 0.2365ms [2025-09-21 19:40:32 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/landlord/create application/json 221 [2025-09-21 19:40:32 INF] CORS policy execution successful. [2025-09-21 19:40:32 INF] Executing endpoint 'Web.Controllers.API.LandlordController.Create (Web)' [2025-09-21 19:40:32 INF] Route matched with {action = "Create", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Create(Web.Models.API.Landlords.LandlordCreateVM) on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 19:40:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:40:32 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:40:32 INF] Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?', @p2='?' (DbType = DateTime), @p3='?', @p4='?', @p5='?', @p6='?', @p7='?', @p8='?' (DbType = Int32), @p9='?', @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime)], CommandType='"Text"', CommandTimeout='30'] INSERT INTO "Users" ("CreateTime", "Email", "ExpiresAt", "FirstName", "LastName", "PasswordHash", "PhoneNumber", "RefreshToken", "Role", "Salt", "Status", "UpdateTime") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11) RETURNING "Id"; [2025-09-21 19:40:32 INF] Executed DbCommand (1ms) [Parameters=[@p12='?' (DbType = Int32), @p13='?', @p14='?' (DbType = Decimal), @p15='?'], CommandType='"Text"', CommandTimeout='30'] INSERT INTO "Landlords" ("Id", "AccountNumber", "Balance", "Comment") VALUES (@p12, @p13, @p14, @p15); [2025-09-21 19:40:32 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-21 19:40:32 INF] Executed action Web.Controllers.API.LandlordController.Create (Web) in 53.5337ms [2025-09-21 19:40:32 INF] Executed endpoint 'Web.Controllers.API.LandlordController.Create (Web)' [2025-09-21 19:40:32 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/landlord/create application/json 221 - 200 0 - 66.5552ms [2025-09-21 19:40:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 19:40:32 INF] CORS policy execution successful. [2025-09-21 19:40:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2214ms [2025-09-21 19:40:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 19:40:32 INF] CORS policy execution successful. [2025-09-21 19:40:32 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 19:40:32 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 19:40:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:40:32 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:40:32 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 19:40:32 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:40:32 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 25.4747ms [2025-09-21 19:40:32 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 19:40:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 26.1292ms [2025-09-21 19:40:35 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 19:40:35 INF] CORS policy execution successful. [2025-09-21 19:40:35 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2252ms [2025-09-21 19:40:35 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 19:40:35 INF] CORS policy execution successful. [2025-09-21 19:40:35 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 19:40:35 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:40:35 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:40:35 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:40:35 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 19:40:35 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 19:40:35 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:40:35 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 53.9422ms [2025-09-21 19:40:35 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 19:40:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 54.4925ms [2025-09-21 19:40:36 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 19:40:36 INF] CORS policy execution successful. [2025-09-21 19:40:36 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 19:40:36 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 19:40:36 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:40:36 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:40:36 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 19:40:36 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:40:36 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 26.6381ms [2025-09-21 19:40:36 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 19:40:36 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 27.1995ms [2025-09-21 19:41:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/create - - [2025-09-21 19:41:48 INF] CORS policy execution successful. [2025-09-21 19:41:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/create - - - 204 - - 0.2217ms [2025-09-21 19:41:48 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/flat/create application/json 394 [2025-09-21 19:41:48 INF] CORS policy execution successful. [2025-09-21 19:41:48 INF] Executing endpoint 'Web.Controllers.API.FlatController.Create (Web)' [2025-09-21 19:41:48 INF] Route matched with {action = "Create", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Create(Web.Models.API.Flats.FlatCreateVM) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:41:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:41:48 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:41:48 INF] Executed DbCommand (4ms) [Parameters=[@p0='?', @p1='?', @p2='?', @p3='?' (DbType = Decimal), @p4='?', @p5='?' (DbType = Decimal), @p6='?', @p7='?', @p8='?' (DbType = Int32), @p9='?' (DbType = Int32), @p10='?' (DbType = DateTime), @p11='?' (DbType = Decimal), @p12='?', @p13='?' (DbType = Double), @p14='?' (DbType = Boolean), @p15='?' (DbType = Boolean), @p16='?' (DbType = Int32), @p17='?' (DbType = Int32), @p18='?' (DbType = Boolean), @p19='?', @p20='?' (DbType = Decimal), @p21='?' (DbType = Double), @p22='?', @p23='?', @p24='?' (DbType = DateTime), @p25='?' (DbType = DateTime)], CommandType='"Text"', CommandTimeout='30'] INSERT INTO "Flats" ("AccountNumber", "AccountNumber2", "AccountNumber3", "AdminFees", "Apartment", "Balance", "Building", "City", "CountParkingSpots", "CountRooms", "CreateTime", "Deposit", "Description", "Floor", "HasBalcony", "HasTerrace", "InternalId", "LandlordId", "PetAllowed", "Postcode", "Price", "Size", "Street", "Title", "UpdateTime", "YearBuilt") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23, @p24, @p25) RETURNING "Id"; [2025-09-21 19:41:48 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-21 19:41:48 INF] Executed action Web.Controllers.API.FlatController.Create (Web) in 116.2192ms [2025-09-21 19:41:48 INF] Executed endpoint 'Web.Controllers.API.FlatController.Create (Web)' [2025-09-21 19:41:48 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/flat/create application/json 394 - 200 0 - 120.2166ms [2025-09-21 19:41:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 19:41:48 INF] CORS policy execution successful. [2025-09-21 19:41:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.1841ms [2025-09-21 19:41:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 19:41:48 INF] CORS policy execution successful. [2025-09-21 19:41:48 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 19:41:48 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:41:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:41:48 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:41:48 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 19:41:48 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 19:41:48 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:41:48 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 60.4396ms [2025-09-21 19:41:48 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 19:41:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 61.0803ms [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=370 - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=370 - - - 204 - - 0.3110ms [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=370 - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=370 - - - 204 - - 0.2454ms [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=370 - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=370 - - - 204 - - 0.2024ms [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1294ms [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=370 - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=370 - - - 204 - - 0.1037ms [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=370 - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=370 - - - 204 - - 0.0847ms [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=370 - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=370 - - - 204 - - 0.1044ms [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=370 - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=370 - - - 204 - - 0.2691ms [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=370 - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=370 - - - 204 - - 0.3283ms [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=370 - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=370 - - - 204 - - 0.1090ms [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1626ms [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0851ms [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1429ms [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=370 - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 19:41:53 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:41:53 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=370 - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 19:41:53 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=370 - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 19:41:53 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-21 19:41:53 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:41:53 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:41:53 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=370 - - [2025-09-21 19:41:53 INF] CORS policy execution successful. [2025-09-21 19:41:53 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 19:41:53 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-21 19:41:53 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 19:41:54 INF] CORS policy execution successful. [2025-09-21 19:41:54 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 19:41:54 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:41:54 INF] Executed DbCommand (10ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=370 - - [2025-09-21 19:41:54 INF] CORS policy execution successful. [2025-09-21 19:41:54 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 19:41:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-21 19:41:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:41:54 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 36.0399ms [2025-09-21 19:41:54 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 19:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=370 - - - 200 - application/json;+charset=utf-8 36.3120ms [2025-09-21 19:41:54 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-21 19:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=370 - - [2025-09-21 19:41:54 INF] CORS policy execution successful. [2025-09-21 19:41:54 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 19:41:54 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 19:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:41:54 INF] Executed DbCommand (11ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:41:54 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:41:54 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:41:54 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-21 19:41:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:41:54 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 31.9666ms [2025-09-21 19:41:54 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 19:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=370 - - - 200 - application/json;+charset=utf-8 39.0765ms [2025-09-21 19:41:54 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:41:54 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-21 19:41:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-21 19:41:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:41:54 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 58.0796ms [2025-09-21 19:41:54 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 19:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=370 - - - 200 - application/json;+charset=utf-8 58.6505ms [2025-09-21 19:41:54 INF] Executed DbCommand (10ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 19:41:54 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 19:41:54 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 80.7797ms [2025-09-21 19:41:54 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 19:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=370 - - - 200 - application/json;+charset=utf-8 82.7469ms [2025-09-21 19:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=370 - - [2025-09-21 19:41:54 INF] CORS policy execution successful. [2025-09-21 19:41:54 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 19:41:54 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 19:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=370 - - [2025-09-21 19:41:54 INF] CORS policy execution successful. [2025-09-21 19:41:54 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 19:41:54 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-21 19:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 19:41:54 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:41:54 INF] CORS policy execution successful. [2025-09-21 19:41:54 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 19:41:54 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 19:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:41:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-21 19:41:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:41:54 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 39.6149ms [2025-09-21 19:41:54 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 19:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=370 - - - 200 - application/json;+charset=utf-8 40.1605ms [2025-09-21 19:41:54 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:41:54 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:41:54 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 19:41:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:41:54 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 57.7567ms [2025-09-21 19:41:54 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 19:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=370 - - - 200 - application/json;+charset=utf-8 58.7159ms [2025-09-21 19:41:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:41:54 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:41:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-21 19:41:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:41:54 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 56.9072ms [2025-09-21 19:41:54 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 19:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=370 - - - 200 - application/json;+charset=utf-8 57.4928ms [2025-09-21 19:41:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:41:54 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 148.3218ms [2025-09-21 19:41:54 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 19:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=370 - - - 200 - application/json;+charset=utf-8 148.7741ms [2025-09-21 19:41:54 INF] Executed DbCommand (39ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 19:41:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:41:54 INF] Executed DbCommand (30ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 19:41:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:41:54 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 85.594ms [2025-09-21 19:41:54 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 19:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 86.2269ms [2025-09-21 19:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 19:41:54 INF] CORS policy execution successful. [2025-09-21 19:41:54 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 19:41:54 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-21 19:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:41:54 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 19:41:54 INF] CORS policy execution successful. [2025-09-21 19:41:54 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 19:41:54 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-21 19:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:41:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=370 - - [2025-09-21 19:41:54 INF] CORS policy execution successful. [2025-09-21 19:41:54 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 19:41:54 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:41:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:41:54 INF] Executed DbCommand (32ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-21 19:41:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:41:54 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 49.1032ms [2025-09-21 19:41:54 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 19:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 49.5251ms [2025-09-21 19:41:54 INF] Executed DbCommand (20ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-21 19:41:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:41:54 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 34.2592ms [2025-09-21 19:41:54 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 19:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 34.8061ms [2025-09-21 19:41:54 INF] Executed DbCommand (6ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 19:41:54 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 19:41:54 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 19.9017ms [2025-09-21 19:41:54 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 19:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=370 - - - 200 - application/json;+charset=utf-8 20.5179ms [2025-09-21 19:41:54 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 203.2568ms [2025-09-21 19:41:54 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 19:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 203.9369ms [2025-09-21 19:42:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - [2025-09-21 19:42:15 INF] CORS policy execution successful. [2025-09-21 19:42:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - - 204 - - 0.2497ms [2025-09-21 19:42:15 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundarysWf4SWOcHttwAyJx 511291 [2025-09-21 19:42:15 INF] CORS policy execution successful. [2025-09-21 19:42:15 INF] Executing endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-09-21 19:42:15 INF] Route matched with {action = "Create", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Create(Web.Models.API.Agreements.AgreementCreateVM) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 19:42:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:42:15 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:42:15 INF] Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?', @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = DateTime), @p5='?', @p6='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] INSERT INTO "Agreements" ("CreateTime", "Description", "EndDate", "FlatId", "StartDate", "Title", "Type") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6) RETURNING "Id"; [2025-09-21 19:42:15 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-21 19:42:15 INF] Executed action Web.Controllers.API.AgreementController.Create (Web) in 86.9243ms [2025-09-21 19:42:15 INF] Executed endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-09-21 19:42:15 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundarysWf4SWOcHttwAyJx 511291 - 200 0 - 89.9019ms [2025-09-21 19:42:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=370 - - [2025-09-21 19:42:15 INF] CORS policy execution successful. [2025-09-21 19:42:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=370 - - - 204 - - 0.2267ms [2025-09-21 19:42:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=370 - - [2025-09-21 19:42:15 INF] CORS policy execution successful. [2025-09-21 19:42:15 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 19:42:15 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 19:42:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:42:15 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:42:15 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-21 19:42:15 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:42:15 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 16.8249ms [2025-09-21 19:42:15 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 19:42:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=370 - - - 200 - application/json;+charset=utf-8 17.6033ms [2025-09-21 19:42:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - [2025-09-21 19:42:30 INF] CORS policy execution successful. [2025-09-21 19:42:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - - 204 - - 0.2348ms [2025-09-21 19:42:30 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundary944dsMV7U0ezlRZW 114547 [2025-09-21 19:42:30 INF] CORS policy execution successful. [2025-09-21 19:42:30 INF] Executing endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-09-21 19:42:30 INF] Route matched with {action = "Create", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Create(Web.Models.API.Agreements.AgreementCreateVM) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 19:42:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:42:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:42:30 INF] Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?', @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = DateTime), @p5='?', @p6='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] INSERT INTO "Agreements" ("CreateTime", "Description", "EndDate", "FlatId", "StartDate", "Title", "Type") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6) RETURNING "Id"; [2025-09-21 19:42:30 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-21 19:42:30 INF] Executed action Web.Controllers.API.AgreementController.Create (Web) in 203.9025ms [2025-09-21 19:42:30 INF] Executed endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-09-21 19:42:30 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundary944dsMV7U0ezlRZW 114547 - 200 0 - 205.5973ms [2025-09-21 19:42:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=370 - - [2025-09-21 19:42:30 INF] CORS policy execution successful. [2025-09-21 19:42:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=370 - - - 204 - - 0.2425ms [2025-09-21 19:42:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=370 - - [2025-09-21 19:42:30 INF] CORS policy execution successful. [2025-09-21 19:42:30 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 19:42:30 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 19:42:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:42:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:42:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-21 19:42:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:42:30 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 16.0956ms [2025-09-21 19:42:30 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 19:42:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=370 - - - 200 - application/json;+charset=utf-8 16.6372ms [2025-09-21 19:43:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 19:43:41 INF] CORS policy execution successful. [2025-09-21 19:43:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2322ms [2025-09-21 19:43:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 19:43:41 INF] CORS policy execution successful. [2025-09-21 19:43:41 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 19:43:41 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:43:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:43:41 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:43:41 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 19:43:41 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 19:43:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:43:41 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 73.1869ms [2025-09-21 19:43:41 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 19:43:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 73.9145ms [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=302 - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=302 - - - 204 - - 0.2294ms [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=302 - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=302 - - - 204 - - 0.0835ms [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=302 - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=302 - - - 204 - - 0.0717ms [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 204 - - 0.0752ms [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.4194ms [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=302 - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=302 - - - 204 - - 0.1196ms [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=302 - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=302 - - - 204 - - 0.2174ms [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - - 204 - - 0.1409ms [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=302 - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=302 - - - 204 - - 0.1622ms [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1387ms [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 204 - - 0.3480ms [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1329ms [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2009ms [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=302 - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 19:44:15 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=302 - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 19:44:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:15 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-21 19:44:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=302 - - [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=302 - - [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 19:44:15 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 19:44:15 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-21 19:44:15 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:44:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 19:44:15 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-21 19:44:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 19:44:15 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:44:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:15 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:15 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:15 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-21 19:44:15 INF] Executed DbCommand (10ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:15 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:44:15 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 65.1527ms [2025-09-21 19:44:15 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 65.6814ms [2025-09-21 19:44:15 INF] Executed DbCommand (8ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 19:44:15 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:15 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 19:44:15 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 62.1262ms [2025-09-21 19:44:15 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 200 - application/json;+charset=utf-8 62.7420ms [2025-09-21 19:44:15 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-21 19:44:15 INF] Executed DbCommand (19ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=302 - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 19:44:15 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 19:44:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 19:44:15 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 19:44:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:15 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:15 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-21 19:44:15 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:44:15 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 131.4896ms [2025-09-21 19:44:15 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 132.2387ms [2025-09-21 19:44:15 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:15 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:15 INF] Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:15 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 19:44:15 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-21 19:44:15 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:44:15 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 54.1094ms [2025-09-21 19:44:15 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 54.7145ms [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=302 - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 19:44:15 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-21 19:44:15 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-21 19:44:15 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:44:15 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 141.4266ms [2025-09-21 19:44:15 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 19:44:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 142.0536ms [2025-09-21 19:44:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 19:44:15 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 19:44:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 19:44:15 INF] CORS policy execution successful. [2025-09-21 19:44:15 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 19:44:15 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-21 19:44:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:16 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:16 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:44:16 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 92.5515ms [2025-09-21 19:44:16 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 19:44:16 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 92.9712ms [2025-09-21 19:44:16 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-21 19:44:16 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:16 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-21 19:44:16 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:44:16 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 19:44:16 INF] CORS policy execution successful. [2025-09-21 19:44:16 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 49.47ms [2025-09-21 19:44:16 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 19:44:16 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 49.9808ms [2025-09-21 19:44:16 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 19:44:16 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-21 19:44:16 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:16 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:16 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:44:16 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-21 19:44:16 INF] CORS policy execution successful. [2025-09-21 19:44:16 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 19:44:16 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:44:16 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:16 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:44:16 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 19:44:16 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 66.0535ms [2025-09-21 19:44:16 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 19:44:16 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 66.4408ms [2025-09-21 19:44:16 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:16 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-21 19:44:16 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:44:16 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 33.1656ms [2025-09-21 19:44:16 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 19:44:16 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 33.9083ms [2025-09-21 19:44:16 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 224.1ms [2025-09-21 19:44:16 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 19:44:16 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=302 - - - 200 - application/json;+charset=utf-8 226.9992ms [2025-09-21 19:44:16 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:44:16 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 81.8351ms [2025-09-21 19:44:16 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 19:44:16 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 82.7461ms [2025-09-21 19:44:16 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:16 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 19:44:16 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 19:44:16 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 36.1038ms [2025-09-21 19:44:16 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 19:44:16 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 200 - application/json;+charset=utf-8 36.6768ms [2025-09-21 19:44:16 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:44:16 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 225.5515ms [2025-09-21 19:44:16 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 19:44:16 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 226.1665ms [2025-09-21 19:44:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1491 - - [2025-09-21 19:44:19 INF] CORS policy execution successful. [2025-09-21 19:44:19 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1491 - - - 204 - - 0.2341ms [2025-09-21 19:44:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1491 - - [2025-09-21 19:44:19 INF] CORS policy execution successful. [2025-09-21 19:44:19 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-21 19:44:19 INF] Route matched with {action = "GetCostsById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCostsById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:44:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:19 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:19 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e [2025-09-21 19:44:19 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-21 19:44:19 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 17.5762ms [2025-09-21 19:44:19 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-21 19:44:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1491 - - - 200 - application/json;+charset=utf-8 18.2194ms [2025-09-21 19:44:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-09-21 19:44:22 INF] CORS policy execution successful. [2025-09-21 19:44:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2641ms [2025-09-21 19:44:22 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryKRBAhfwTkmbYwEA2 1136 [2025-09-21 19:44:22 INF] CORS policy execution successful. [2025-09-21 19:44:22 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-21 19:44:22 INF] Route matched with {action = "CostsUpdate", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] CostsUpdate(Web.Models.API.Expenses.ExpensesUpdateVM) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:44:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:22 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:22 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e WHERE e."Id" = @__p_0 LIMIT 1 [2025-09-21 19:44:22 INF] Executed DbCommand (0ms) [Parameters=[@p9='?' (DbType = Int32), @p0='?', @p1='?', @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = DateTime), @p5='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = DateTime), @p8='?' (DbType = Decimal)], CommandType='"Text"', CommandTimeout='30'] UPDATE "Expenses" SET "AccountNumber" = @p0, "Comment" = @p1, "CreateTime" = @p2, "FlatId" = @p3, "StartDate" = @p4, "Status" = @p5, "Type" = @p6, "UpdateTime" = @p7, "Value" = @p8 WHERE "Id" = @p9; [2025-09-21 19:44:22 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-21 19:44:22 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 18.8413ms [2025-09-21 19:44:22 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-21 19:44:22 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryKRBAhfwTkmbYwEA2 1136 - 200 0 - 19.4093ms [2025-09-21 19:44:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-21 19:44:22 INF] CORS policy execution successful. [2025-09-21 19:44:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 204 - - 0.2137ms [2025-09-21 19:44:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-21 19:44:22 INF] CORS policy execution successful. [2025-09-21 19:44:22 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 19:44:22 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:44:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:22 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:22 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 19:44:22 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 19:44:22 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 16.3976ms [2025-09-21 19:44:22 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 19:44:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 200 - application/json;+charset=utf-8 16.9363ms [2025-09-21 19:44:24 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1491 - - [2025-09-21 19:44:24 INF] CORS policy execution successful. [2025-09-21 19:44:24 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-21 19:44:24 INF] Route matched with {action = "GetCostsById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCostsById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:44:24 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:24 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:24 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e [2025-09-21 19:44:24 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-21 19:44:24 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 16.9307ms [2025-09-21 19:44:24 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-21 19:44:24 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1491 - - - 200 - application/json;+charset=utf-8 17.7753ms [2025-09-21 19:44:35 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-09-21 19:44:35 INF] CORS policy execution successful. [2025-09-21 19:44:35 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2439ms [2025-09-21 19:44:35 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryXgu23kxqEvFntQHL 1136 [2025-09-21 19:44:35 INF] CORS policy execution successful. [2025-09-21 19:44:35 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-21 19:44:35 INF] Route matched with {action = "CostsUpdate", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] CostsUpdate(Web.Models.API.Expenses.ExpensesUpdateVM) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:44:35 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:35 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:35 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e WHERE e."Id" = @__p_0 LIMIT 1 [2025-09-21 19:44:35 INF] Executed DbCommand (1ms) [Parameters=[@p9='?' (DbType = Int32), @p0='?', @p1='?', @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = DateTime), @p5='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = DateTime), @p8='?' (DbType = Decimal)], CommandType='"Text"', CommandTimeout='30'] UPDATE "Expenses" SET "AccountNumber" = @p0, "Comment" = @p1, "CreateTime" = @p2, "FlatId" = @p3, "StartDate" = @p4, "Status" = @p5, "Type" = @p6, "UpdateTime" = @p7, "Value" = @p8 WHERE "Id" = @p9; [2025-09-21 19:44:35 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-21 19:44:35 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 17.6627ms [2025-09-21 19:44:35 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-21 19:44:35 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryXgu23kxqEvFntQHL 1136 - 200 0 - 18.2196ms [2025-09-21 19:44:35 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-21 19:44:35 INF] CORS policy execution successful. [2025-09-21 19:44:35 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 204 - - 0.2371ms [2025-09-21 19:44:35 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-21 19:44:35 INF] CORS policy execution successful. [2025-09-21 19:44:35 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 19:44:35 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:44:35 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:35 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:35 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 19:44:35 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 19:44:35 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 17.1403ms [2025-09-21 19:44:35 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 19:44:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 200 - application/json;+charset=utf-8 17.6541ms [2025-09-21 19:44:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsdelete?id=1495 - - [2025-09-21 19:44:38 INF] CORS policy execution successful. [2025-09-21 19:44:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsdelete?id=1495 - - - 204 - - 0.2618ms [2025-09-21 19:44:38 INF] Request starting HTTP/1.1 DELETE http://hmgt.metrohousedev.com/api/flat/costsdelete?id=1495 - - [2025-09-21 19:44:38 INF] CORS policy execution successful. [2025-09-21 19:44:38 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsDelete (Web)' [2025-09-21 19:44:38 INF] Route matched with {action = "CostsDelete", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] CostsDelete(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:44:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:38 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:38 INF] Executed DbCommand (0ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e WHERE e."Id" = @__p_0 LIMIT 1 [2025-09-21 19:44:38 INF] Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] DELETE FROM "Expenses" WHERE "Id" = @p0; [2025-09-21 19:44:38 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-21 19:44:38 INF] Executed action Web.Controllers.API.FlatController.CostsDelete (Web) in 19.2413ms [2025-09-21 19:44:38 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsDelete (Web)' [2025-09-21 19:44:38 INF] Request finished HTTP/1.1 DELETE http://hmgt.metrohousedev.com/api/flat/costsdelete?id=1495 - - - 200 0 - 19.8789ms [2025-09-21 19:44:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-21 19:44:38 INF] CORS policy execution successful. [2025-09-21 19:44:38 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 19:44:38 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:44:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:38 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:38 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 19:44:38 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 19:44:38 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 14.9707ms [2025-09-21 19:44:38 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 19:44:38 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 200 - application/json;+charset=utf-8 15.7027ms [2025-09-21 19:44:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1496 - - [2025-09-21 19:44:39 INF] CORS policy execution successful. [2025-09-21 19:44:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1496 - - - 204 - - 0.2191ms [2025-09-21 19:44:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1496 - - [2025-09-21 19:44:39 INF] CORS policy execution successful. [2025-09-21 19:44:39 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-21 19:44:39 INF] Route matched with {action = "GetCostsById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCostsById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:44:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:39 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:39 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e [2025-09-21 19:44:39 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-21 19:44:39 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 15.3768ms [2025-09-21 19:44:39 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-21 19:44:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1496 - - - 200 - application/json;+charset=utf-8 15.8896ms [2025-09-21 19:44:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-09-21 19:44:45 INF] CORS policy execution successful. [2025-09-21 19:44:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.9408ms [2025-09-21 19:44:45 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryblwmB5vleCANv5BF 1144 [2025-09-21 19:44:45 INF] CORS policy execution successful. [2025-09-21 19:44:45 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-21 19:44:45 INF] Route matched with {action = "CostsUpdate", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] CostsUpdate(Web.Models.API.Expenses.ExpensesUpdateVM) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:44:45 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:45 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:45 INF] Executed DbCommand (0ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e WHERE e."Id" = @__p_0 LIMIT 1 [2025-09-21 19:44:45 INF] Executed DbCommand (0ms) [Parameters=[@p9='?' (DbType = Int32), @p0='?', @p1='?', @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = DateTime), @p5='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = DateTime), @p8='?' (DbType = Decimal)], CommandType='"Text"', CommandTimeout='30'] UPDATE "Expenses" SET "AccountNumber" = @p0, "Comment" = @p1, "CreateTime" = @p2, "FlatId" = @p3, "StartDate" = @p4, "Status" = @p5, "Type" = @p6, "UpdateTime" = @p7, "Value" = @p8 WHERE "Id" = @p9; [2025-09-21 19:44:45 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-21 19:44:45 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 15.4398ms [2025-09-21 19:44:45 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-21 19:44:45 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryblwmB5vleCANv5BF 1144 - 200 0 - 16.0914ms [2025-09-21 19:44:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-21 19:44:45 INF] CORS policy execution successful. [2025-09-21 19:44:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 204 - - 0.2203ms [2025-09-21 19:44:45 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-21 19:44:45 INF] CORS policy execution successful. [2025-09-21 19:44:45 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 19:44:45 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:44:45 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:44:45 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:44:45 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 19:44:45 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 19:44:45 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 15.1352ms [2025-09-21 19:44:45 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 19:44:45 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 200 - application/json;+charset=utf-8 15.8328ms [2025-09-21 19:45:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=256 - - [2025-09-21 19:45:41 INF] CORS policy execution successful. [2025-09-21 19:45:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=256 - - - 204 - - 0.2212ms [2025-09-21 19:45:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=256 - - [2025-09-21 19:45:41 INF] CORS policy execution successful. [2025-09-21 19:45:41 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-21 19:45:41 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 19:45:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:45:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:45:41 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 19:45:41 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-21 19:45:41 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 34.0208ms [2025-09-21 19:45:41 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-21 19:45:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=256 - - - 200 - application/json;+charset=utf-8 34.5997ms [2025-09-21 19:45:44 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - [2025-09-21 19:45:44 INF] CORS policy execution successful. [2025-09-21 19:45:44 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - - 204 - - 0.2346ms [2025-09-21 19:45:44 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryHOWKOUr7rB2DsvcL 830 [2025-09-21 19:45:44 INF] CORS policy execution successful. [2025-09-21 19:45:44 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-09-21 19:45:44 INF] Route matched with {action = "Update", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Update(Web.Models.API.RentalContracts.RentalContractUpdateVM) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 19:45:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:45:44 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:45:44 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId" FROM "RentalContracts" AS r WHERE r."Id" = @__p_0 LIMIT 1 [2025-09-21 19:45:44 INF] Executed DbCommand (1ms) [Parameters=[@p9='?' (DbType = Int32), @p0='?' (DbType = DateTime), @p1='?' (DbType = Int32), @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = Decimal), @p5='?' (DbType = Decimal), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int32), @p8='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] UPDATE "RentalContracts" SET "CreateTime" = @p0, "EmployeeId" = @p1, "EndDate" = @p2, "FlatId" = @p3, "HGMTFee" = @p4, "RentPrice" = @p5, "StartDate" = @p6, "Status" = @p7, "TenantId" = @p8 WHERE "Id" = @p9; [2025-09-21 19:45:44 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-21 19:45:44 INF] Executed action Web.Controllers.API.RentalContractController.Update (Web) in 17.4873ms [2025-09-21 19:45:44 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-09-21 19:45:44 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryHOWKOUr7rB2DsvcL 830 - 200 0 - 18.0269ms [2025-09-21 19:45:44 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - [2025-09-21 19:45:44 INF] CORS policy execution successful. [2025-09-21 19:45:44 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - - 204 - - 0.2177ms [2025-09-21 19:45:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - [2025-09-21 19:45:44 INF] CORS policy execution successful. [2025-09-21 19:45:44 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 19:45:44 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 19:45:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:45:44 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:45:44 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 19:45:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:45:44 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 28.4084ms [2025-09-21 19:45:44 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 19:45:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 28.9712ms [2025-09-21 19:46:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=256 - - [2025-09-21 19:46:00 INF] CORS policy execution successful. [2025-09-21 19:46:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=256 - - - 204 - - 0.2482ms [2025-09-21 19:46:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=256 - - [2025-09-21 19:46:00 INF] CORS policy execution successful. [2025-09-21 19:46:00 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-21 19:46:00 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 19:46:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:46:00 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:46:00 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 19:46:00 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-21 19:46:00 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 29.7048ms [2025-09-21 19:46:00 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-21 19:46:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=256 - - - 200 - application/json;+charset=utf-8 30.4685ms [2025-09-21 19:46:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/create - - [2025-09-21 19:46:17 INF] CORS policy execution successful. [2025-09-21 19:46:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/create - - - 204 - - 0.2061ms [2025-09-21 19:46:17 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/rentalContract/create multipart/form-data;+boundary=----WebKitFormBoundaryrU063NEOy5oUGxE5 513812 [2025-09-21 19:46:17 INF] CORS policy execution successful. [2025-09-21 19:46:17 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Create (Web)' [2025-09-21 19:46:17 INF] Route matched with {action = "Create", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Create(Web.Models.API.RentalContracts.RentalContractCreateVM) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 19:46:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:46:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:46:17 INF] Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int32), @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = Decimal), @p5='?' (DbType = Decimal), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int32), @p8='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] INSERT INTO "RentalContracts" ("CreateTime", "EmployeeId", "EndDate", "FlatId", "HGMTFee", "RentPrice", "StartDate", "Status", "TenantId") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8) RETURNING "Id"; [2025-09-21 19:46:17 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-21 19:46:17 INF] Executed action Web.Controllers.API.RentalContractController.Create (Web) in 93.3853ms [2025-09-21 19:46:17 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Create (Web)' [2025-09-21 19:46:17 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/rentalContract/create multipart/form-data;+boundary=----WebKitFormBoundaryrU063NEOy5oUGxE5 513812 - 200 0 - 95.9517ms [2025-09-21 19:46:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - [2025-09-21 19:46:17 INF] CORS policy execution successful. [2025-09-21 19:46:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - - 204 - - 0.2381ms [2025-09-21 19:46:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - [2025-09-21 19:46:17 INF] CORS policy execution successful. [2025-09-21 19:46:17 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 19:46:17 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 19:46:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:46:17 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:46:17 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 19:46:17 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:46:17 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 29.9744ms [2025-09-21 19:46:17 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 19:46:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 30.7922ms [2025-09-21 19:46:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 19:46:20 INF] CORS policy execution successful. [2025-09-21 19:46:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.2605ms [2025-09-21 19:46:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 19:46:20 INF] CORS policy execution successful. [2025-09-21 19:46:20 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 19:46:20 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-21 19:46:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:46:20 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:46:20 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-21 19:46:20 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:46:20 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 19.6531ms [2025-09-21 19:46:20 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 19:46:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 20.3059ms [2025-09-21 19:46:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 19:46:22 INF] CORS policy execution successful. [2025-09-21 19:46:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2785ms [2025-09-21 19:46:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 19:46:22 INF] CORS policy execution successful. [2025-09-21 19:46:22 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 19:46:22 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 19:46:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:46:22 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:46:22 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 19:46:22 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:46:22 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 24.9049ms [2025-09-21 19:46:22 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 19:46:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 25.4641ms [2025-09-21 19:46:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getById?id=293 - - [2025-09-21 19:46:29 INF] CORS policy execution successful. [2025-09-21 19:46:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getById?id=293 - - - 204 - - 0.2229ms [2025-09-21 19:46:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContractByLandlordId?landlordId=293 - - [2025-09-21 19:46:29 INF] CORS policy execution successful. [2025-09-21 19:46:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContractByLandlordId?landlordId=293 - - - 204 - - 0.1643ms [2025-09-21 19:46:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByLandlordId?landlordId=293 - - [2025-09-21 19:46:29 INF] CORS policy execution successful. [2025-09-21 19:46:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByLandlordId?landlordId=293 - - - 204 - - 0.2677ms [2025-09-21 19:46:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getById?id=293 - - [2025-09-21 19:46:29 INF] CORS policy execution successful. [2025-09-21 19:46:29 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetByID (Web)' [2025-09-21 19:46:29 INF] Route matched with {action = "GetByID", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetByID(Int32) on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 19:46:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:46:29 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:46:29 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" [2025-09-21 19:46:29 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Landlords.LandlordVM'. [2025-09-21 19:46:29 INF] Executed action Web.Controllers.API.LandlordController.GetByID (Web) in 18.6232ms [2025-09-21 19:46:29 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetByID (Web)' [2025-09-21 19:46:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getById?id=293 - - - 200 - application/json;+charset=utf-8 19.2652ms [2025-09-21 19:46:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContractByLandlordId?landlordId=293 - - [2025-09-21 19:46:29 INF] CORS policy execution successful. [2025-09-21 19:46:29 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContractByLandlordId (Web)' [2025-09-21 19:46:29 INF] Route matched with {action = "GetAllWithActualContractByLandlordId", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContractByLandlordId(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:46:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:46:29 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:46:29 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 19:46:29 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:46:29 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContractByLandlordId (Web) in 40.9129ms [2025-09-21 19:46:29 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContractByLandlordId (Web)' [2025-09-21 19:46:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContractByLandlordId?landlordId=293 - - - 200 - application/json;+charset=utf-8 42.0934ms [2025-09-21 19:46:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByLandlordId?landlordId=293 - - [2025-09-21 19:46:29 INF] CORS policy execution successful. [2025-09-21 19:46:29 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByLandlordId (Web)' [2025-09-21 19:46:29 INF] Route matched with {action = "GetAllByLandlordId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByLandlordId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-21 19:46:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:46:29 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:46:29 INF] Executed DbCommand (36ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type", t1."Id", t1."CreateTime", t1."EmployeeId", t1."EndDate", t1."FlatId", t1."HGMTFee", t1."RentPrice", t1."StartDate", t1."Status", t1."TenantId", t1."Id0", t1."CreateTime0", t1."Email", t1."ExpiresAt", t1."FirstName", t1."LastName", t1."PasswordHash", t1."PhoneNumber", t1."RefreshToken", t1."Role", t1."Salt", t1."Status0", t1."UpdateTime", t1."Comment", e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title", i."Id", i."CreateTime", i."EmployeeId", i."FlatId", m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value", e0."Id", e0."AccountNumber", e0."Comment", e0."CreateTime", e0."FlatId", e0."StartDate", e0."Status", e0."Type", e0."UpdateTime", e0."Value", i0."Id", i0."Comment", i0."CreateTime", i0."Description", i0."EndTime", i0."FlatId", i0."Status", i0."Title", i0."Value" FROM "Flats" AS f LEFT JOIN "Agreements" AS a ON f."Id" = a."FlatId" LEFT JOIN ( SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", t0."Id" AS "Id0", t0."CreateTime" AS "CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status" AS "Status0", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" ) AS t0 ON r."TenantId" = t0."Id" ) AS t1 ON f."Id" = t1."FlatId" LEFT JOIN "Equipments" AS e ON f."Id" = e."FlatId" LEFT JOIN "Inspections" AS i ON f."Id" = i."FlatId" LEFT JOIN "Meters" AS m ON f."Id" = m."FlatId" LEFT JOIN "Expenses" AS e0 ON f."Id" = e0."FlatId" LEFT JOIN "Invoices" AS i0 ON f."Id" = i0."FlatId" ORDER BY f."Id", a."Id", t1."Id", t1."Id0", e."Id", i."Id", m."Id", e0."Id" [2025-09-21 19:46:29 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:46:29 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByLandlordId (Web) in 133.3426ms [2025-09-21 19:46:29 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByLandlordId (Web)' [2025-09-21 19:46:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByLandlordId?landlordId=293 - - - 200 - application/json;+charset=utf-8 133.8688ms [2025-09-21 19:46:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/update - - [2025-09-21 19:46:39 INF] CORS policy execution successful. [2025-09-21 19:46:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/update - - - 204 - - 0.2359ms [2025-09-21 19:46:39 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/landlord/update application/json 318 [2025-09-21 19:46:39 INF] CORS policy execution successful. [2025-09-21 19:46:39 INF] Executing endpoint 'Web.Controllers.API.LandlordController.Update (Web)' [2025-09-21 19:46:39 INF] Route matched with {action = "Update", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Update(Web.Models.API.Landlords.LandlordUpdateVM) on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 19:46:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:46:39 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:46:39 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" WHERE u."Id" = @__p_0 LIMIT 1 [2025-09-21 19:46:39 INF] Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int32), @p0='?', @p1='?' (DbType = Decimal), @p2='?', @p16='?' (DbType = Int32), @p4='?' (DbType = DateTime), @p5='?', @p6='?' (DbType = DateTime), @p7='?', @p8='?', @p9='?', @p10='?', @p11='?', @p12='?' (DbType = Int32), @p13='?', @p14='?' (DbType = Int32), @p15='?' (DbType = DateTime)], CommandType='"Text"', CommandTimeout='30'] UPDATE "Landlords" SET "AccountNumber" = @p0, "Balance" = @p1, "Comment" = @p2 WHERE "Id" = @p3; UPDATE "Users" SET "CreateTime" = @p4, "Email" = @p5, "ExpiresAt" = @p6, "FirstName" = @p7, "LastName" = @p8, "PasswordHash" = @p9, "PhoneNumber" = @p10, "RefreshToken" = @p11, "Role" = @p12, "Salt" = @p13, "Status" = @p14, "UpdateTime" = @p15 WHERE "Id" = @p16; [2025-09-21 19:46:39 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-21 19:46:39 INF] Executed action Web.Controllers.API.LandlordController.Update (Web) in 41.2313ms [2025-09-21 19:46:39 INF] Executed endpoint 'Web.Controllers.API.LandlordController.Update (Web)' [2025-09-21 19:46:39 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/landlord/update application/json 318 - 200 0 - 44.5589ms [2025-09-21 19:46:52 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 19:46:52 INF] CORS policy execution successful. [2025-09-21 19:46:52 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2245ms [2025-09-21 19:46:52 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 19:46:52 INF] CORS policy execution successful. [2025-09-21 19:46:52 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 19:46:52 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 19:46:52 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 19:46:52 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 19:46:52 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 19:46:52 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 19:46:52 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 19:46:52 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 58.8951ms [2025-09-21 19:46:52 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 19:46:52 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 59.5564ms [2025-09-21 20:13:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 20:13:33 INF] CORS policy execution successful. [2025-09-21 20:13:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.6563ms [2025-09-21 20:16:09 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-21 20:16:09 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-21 20:16:09 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.2898ms [2025-09-21 20:16:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-21 20:16:11 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-21 20:16:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.4955ms [2025-09-21 20:16:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-21 20:16:11 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-21 20:16:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.4889ms [2025-09-21 20:16:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-21 20:16:11 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-21 20:16:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.2874ms [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=265 - - [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.3656ms [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=265 - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=265 - - - 204 - - 0.1027ms [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=265 - - - 204 - - 1.1358ms [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1838ms [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0847ms [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1383ms [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=265 - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=265 - - - 204 - - 0.2117ms [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=265 - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=265 - - - 204 - - 0.2611ms [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=265 - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=265 - - - 204 - - 0.2190ms [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=265 - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=265 - - - 204 - - 0.3825ms [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=265 - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=265 - - - 204 - - 0.0799ms [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=265 - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=265 - - - 204 - - 0.2890ms [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=265 - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=265 - - - 204 - - 0.1374ms [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=265 - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 20:24:54 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-21 20:24:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=265 - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 20:24:54 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-21 20:24:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 20:24:54 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 20:24:54 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-21 20:24:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:24:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:24:54 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 20:24:54 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 20:24:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 20:24:54 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-21 20:24:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:24:54 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-21 20:24:54 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:24:54 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:24:54 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:24:54 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 20:24:54 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:24:54 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-21 20:24:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:24:54 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 91.6127ms [2025-09-21 20:24:54 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 92.8898ms [2025-09-21 20:24:54 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-21 20:24:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:24:54 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 105.1407ms [2025-09-21 20:24:54 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=265 - - - 200 - application/json;+charset=utf-8 105.8961ms [2025-09-21 20:24:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:24:54 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 90.2456ms [2025-09-21 20:24:54 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 91.4826ms [2025-09-21 20:24:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=265 - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 20:24:54 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 20:24:54 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:24:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=265 - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 20:24:54 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-21 20:24:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:24:54 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-21 20:24:54 INF] Executed DbCommand (28ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 20:24:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:24:54 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 104.8205ms [2025-09-21 20:24:54 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 108.6182ms [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=265 - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 20:24:54 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-21 20:24:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:24:54 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 146.0242ms [2025-09-21 20:24:54 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=265 - - - 200 - application/json;+charset=utf-8 146.9780ms [2025-09-21 20:24:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:24:54 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:24:54 INF] Executed DbCommand (5ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 20:24:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-21 20:24:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:24:54 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 20:24:54 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 23.4127ms [2025-09-21 20:24:54 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=265 - - - 200 - application/json;+charset=utf-8 28.8561ms [2025-09-21 20:24:54 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 36.8427ms [2025-09-21 20:24:54 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=265 - - [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=265 - - - 200 - application/json;+charset=utf-8 37.2899ms [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=265 - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 20:24:54 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 20:24:54 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-21 20:24:54 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 20:24:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:24:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:24:54 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:24:54 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-21 20:24:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:24:54 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 43.8534ms [2025-09-21 20:24:54 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=265 - - - 200 - application/json;+charset=utf-8 44.2044ms [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=265 - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 20:24:54 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 20:24:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:24:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=265 - - [2025-09-21 20:24:54 INF] CORS policy execution successful. [2025-09-21 20:24:54 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 20:24:54 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 20:24:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:24:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:24:54 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:24:54 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:24:54 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 20:24:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:24:54 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-21 20:24:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:24:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:24:54 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 49.4718ms [2025-09-21 20:24:54 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=265 - - - 200 - application/json;+charset=utf-8 49.9439ms [2025-09-21 20:24:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-21 20:24:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:24:54 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 37.7591ms [2025-09-21 20:24:54 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=265 - - - 200 - application/json;+charset=utf-8 38.2832ms [2025-09-21 20:24:54 INF] Executed DbCommand (6ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 20:24:54 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 20:24:54 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 36.3296ms [2025-09-21 20:24:54 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=265 - - - 200 - application/json;+charset=utf-8 36.7796ms [2025-09-21 20:24:54 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 202.6317ms [2025-09-21 20:24:54 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 203.4599ms [2025-09-21 20:24:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:24:54 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 58.1042ms [2025-09-21 20:24:54 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 20:24:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=265 - - - 200 - application/json;+charset=utf-8 58.5079ms [2025-09-21 20:25:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=642 - - [2025-09-21 20:25:00 INF] CORS policy execution successful. [2025-09-21 20:25:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=642 - - - 204 - - 0.2059ms [2025-09-21 20:25:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=642 - - [2025-09-21 20:25:00 INF] CORS policy execution successful. [2025-09-21 20:25:00 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-21 20:25:00 INF] Route matched with {action = "GetById", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 20:25:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:25:00 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:25:00 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a WHERE a."Id" = @__p_0 LIMIT 1 [2025-09-21 20:25:00 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-09-21 20:25:00 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 13.4392ms [2025-09-21 20:25:00 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-21 20:25:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=642 - - - 200 - application/json;+charset=utf-8 13.9926ms [2025-09-21 20:25:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Rac%C5%82awicka%20144%20lok%20103%20protok%C3%B3%C5%82%20wej%C5%9Bcia%2015.09.2025.pdf&id=642 - - [2025-09-21 20:25:01 INF] CORS policy execution successful. [2025-09-21 20:25:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Rac%C5%82awicka%20144%20lok%20103%20protok%C3%B3%C5%82%20wej%C5%9Bcia%2015.09.2025.pdf&id=642 - - - 204 - - 1.1335ms [2025-09-21 20:25:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Rac%C5%82awicka%20144%20lok%20103%20protok%C3%B3%C5%82%20wej%C5%9Bcia%2015.09.2025.pdf&id=642 - - [2025-09-21 20:25:01 INF] CORS policy execution successful. [2025-09-21 20:25:01 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-21 20:25:01 INF] Route matched with {action = "GetFile", controller = "File"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetFile(System.String, System.String, Int32) on controller Web.Controllers.API.FileController (Web). [2025-09-21 20:25:01 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-21 20:25:01 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 2.0222ms [2025-09-21 20:25:01 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-21 20:25:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Rac%C5%82awicka%20144%20lok%20103%20protok%C3%B3%C5%82%20wej%C5%9Bcia%2015.09.2025.pdf&id=642 - - - 200 130947 application/pdf 2.6665ms [2025-09-21 20:25:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=643 - - [2025-09-21 20:25:05 INF] CORS policy execution successful. [2025-09-21 20:25:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=643 - - - 204 - - 0.2733ms [2025-09-21 20:25:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=643 - - [2025-09-21 20:25:05 INF] CORS policy execution successful. [2025-09-21 20:25:05 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-21 20:25:05 INF] Route matched with {action = "GetById", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 20:25:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:25:05 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:25:05 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a WHERE a."Id" = @__p_0 LIMIT 1 [2025-09-21 20:25:05 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-09-21 20:25:05 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 14.6834ms [2025-09-21 20:25:05 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-21 20:25:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=643 - - - 200 - application/json;+charset=utf-8 15.1820ms [2025-09-21 20:25:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=644 - - [2025-09-21 20:25:08 INF] CORS policy execution successful. [2025-09-21 20:25:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=644 - - - 204 - - 0.2614ms [2025-09-21 20:25:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=644 - - [2025-09-21 20:25:08 INF] CORS policy execution successful. [2025-09-21 20:25:08 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-21 20:25:08 INF] Route matched with {action = "GetById", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 20:25:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:25:08 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:25:08 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a WHERE a."Id" = @__p_0 LIMIT 1 [2025-09-21 20:25:08 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-09-21 20:25:08 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 16.2843ms [2025-09-21 20:25:08 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-21 20:25:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=644 - - - 200 - application/json;+charset=utf-8 16.9711ms [2025-09-21 20:25:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=525 - - [2025-09-21 20:25:26 INF] CORS policy execution successful. [2025-09-21 20:25:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=525 - - - 204 - - 0.2907ms [2025-09-21 20:25:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=525 - - [2025-09-21 20:25:26 INF] CORS policy execution successful. [2025-09-21 20:25:26 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-21 20:25:26 INF] Route matched with {action = "GetById", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 20:25:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:25:26 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:25:26 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a WHERE a."Id" = @__p_0 LIMIT 1 [2025-09-21 20:25:26 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-09-21 20:25:26 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 22.7133ms [2025-09-21 20:25:26 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-21 20:25:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=525 - - - 200 - application/json;+charset=utf-8 23.3125ms [2025-09-21 20:25:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/update - - [2025-09-21 20:25:32 INF] CORS policy execution successful. [2025-09-21 20:25:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/update - - - 204 - - 0.2144ms [2025-09-21 20:25:32 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/agreement/update multipart/form-data;+boundary=----WebKitFormBoundaryWvKzR8VT5rnTpXvR 555 [2025-09-21 20:25:32 INF] CORS policy execution successful. [2025-09-21 20:25:32 INF] Executing endpoint 'Web.Controllers.API.AgreementController.Update (Web)' [2025-09-21 20:25:32 INF] Route matched with {action = "Update", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Update(Web.Models.API.Agreements.AgreementUpdateVM) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 20:25:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:25:32 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:25:32 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a WHERE a."Id" = @__p_0 LIMIT 1 [2025-09-21 20:25:32 INF] Executed DbCommand (1ms) [Parameters=[@p7='?' (DbType = Int32), @p0='?' (DbType = DateTime), @p1='?', @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = DateTime), @p5='?', @p6='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] UPDATE "Agreements" SET "CreateTime" = @p0, "Description" = @p1, "EndDate" = @p2, "FlatId" = @p3, "StartDate" = @p4, "Title" = @p5, "Type" = @p6 WHERE "Id" = @p7; [2025-09-21 20:25:32 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-21 20:25:32 INF] Executed action Web.Controllers.API.AgreementController.Update (Web) in 31.7519ms [2025-09-21 20:25:32 INF] Executed endpoint 'Web.Controllers.API.AgreementController.Update (Web)' [2025-09-21 20:25:32 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/agreement/update multipart/form-data;+boundary=----WebKitFormBoundaryWvKzR8VT5rnTpXvR 555 - 200 0 - 36.6214ms [2025-09-21 20:25:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=265 - - [2025-09-21 20:25:32 INF] CORS policy execution successful. [2025-09-21 20:25:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=265 - - - 204 - - 0.2039ms [2025-09-21 20:25:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=265 - - [2025-09-21 20:25:32 INF] CORS policy execution successful. [2025-09-21 20:25:32 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 20:25:32 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 20:25:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:25:32 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:25:32 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-21 20:25:32 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:25:32 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 16.987ms [2025-09-21 20:25:32 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 20:25:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=265 - - - 200 - application/json;+charset=utf-8 17.5362ms [2025-09-21 20:38:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 20:38:20 INF] CORS policy execution successful. [2025-09-21 20:38:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2831ms [2025-09-21 20:38:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 20:38:20 INF] CORS policy execution successful. [2025-09-21 20:38:20 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 20:38:20 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 20:38:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:20 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:20 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 20:38:20 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 20:38:20 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:38:20 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 64.846ms [2025-09-21 20:38:20 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 20:38:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 65.4650ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=196 - - - 204 - - 0.2457ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=196 - - - 204 - - 0.2591ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2752ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=196 - - - 204 - - 0.1247ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=196 - - - 204 - - 0.0914ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=196 - - - 204 - - 0.1003ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=196 - - - 204 - - 0.0824ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=196 - - - 204 - - 0.1731ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=196 - - - 204 - - 0.1799ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=196 - - [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=196 - - - 204 - - 0.0793ms [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0948ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2604ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1103ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 20:38:23 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 20:38:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 20:38:23 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 20:38:23 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-21 20:38:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 20:38:23 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-21 20:38:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 20:38:23 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 20:38:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 20:38:23 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-21 20:38:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:23 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:23 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-21 20:38:23 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:23 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:23 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:23 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-21 20:38:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:38:23 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 96.7624ms [2025-09-21 20:38:23 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=196 - - - 200 - application/json;+charset=utf-8 97.1641ms [2025-09-21 20:38:23 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:23 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-21 20:38:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:38:23 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 105.9913ms [2025-09-21 20:38:23 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=196 - - - 200 - application/json;+charset=utf-8 106.3900ms [2025-09-21 20:38:23 INF] Executed DbCommand (26ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 20:38:23 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 20:38:23 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 111.4606ms [2025-09-21 20:38:23 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=196 - - - 200 - application/json;+charset=utf-8 111.9344ms [2025-09-21 20:38:23 INF] Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 20:38:23 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-21 20:38:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:38:23 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 91.7499ms [2025-09-21 20:38:23 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=196 - - - 200 - application/json;+charset=utf-8 92.7611ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 20:38:23 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 20:38:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 20:38:23 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 20:38:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:38:23 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 138.6329ms [2025-09-21 20:38:23 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=196 - - - 200 - application/json;+charset=utf-8 139.1963ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 20:38:23 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-21 20:38:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:23 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:23 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-21 20:38:23 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:38:23 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 27.8061ms [2025-09-21 20:38:23 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=196 - - - 200 - application/json;+charset=utf-8 28.5253ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 20:38:23 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 20:38:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:23 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-21 20:38:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:38:23 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 22.6922ms [2025-09-21 20:38:23 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=196 - - - 200 - application/json;+charset=utf-8 23.0361ms [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 20:38:23 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-21 20:38:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:23 INF] Executed DbCommand (14ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 20:38:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:38:23 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 47.0543ms [2025-09-21 20:38:23 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=196 - - - 200 - application/json;+charset=utf-8 47.5357ms [2025-09-21 20:38:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 20:38:23 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-21 20:38:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=196 - - [2025-09-21 20:38:23 INF] CORS policy execution successful. [2025-09-21 20:38:23 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 20:38:23 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 20:38:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:23 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:23 INF] Executed DbCommand (13ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 20:38:23 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:23 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-21 20:38:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:38:23 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 37.1002ms [2025-09-21 20:38:23 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 37.5188ms [2025-09-21 20:38:23 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-21 20:38:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:38:23 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 22.9457ms [2025-09-21 20:38:23 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 23.4508ms [2025-09-21 20:38:23 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 192.0429ms [2025-09-21 20:38:23 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 192.6206ms [2025-09-21 20:38:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:38:23 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 54.8935ms [2025-09-21 20:38:23 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 58.1894ms [2025-09-21 20:38:23 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:23 INF] Executed DbCommand (3ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 20:38:23 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 20:38:23 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 30.9782ms [2025-09-21 20:38:23 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 20:38:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=196 - - - 200 - application/json;+charset=utf-8 31.6254ms [2025-09-21 20:38:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 20:38:29 INF] CORS policy execution successful. [2025-09-21 20:38:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1971ms [2025-09-21 20:38:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 20:38:29 INF] CORS policy execution successful. [2025-09-21 20:38:29 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 20:38:29 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-21 20:38:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:29 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:29 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-21 20:38:29 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:38:29 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 18.2207ms [2025-09-21 20:38:29 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 20:38:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 18.9256ms [2025-09-21 20:38:40 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 20:38:40 INF] CORS policy execution successful. [2025-09-21 20:38:40 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2144ms [2025-09-21 20:38:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 20:38:40 INF] CORS policy execution successful. [2025-09-21 20:38:40 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 20:38:40 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 20:38:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:40 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:40 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 20:38:40 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 20:38:40 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:38:40 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 58.42ms [2025-09-21 20:38:40 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 20:38:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 58.9590ms [2025-09-21 20:38:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 20:38:41 INF] CORS policy execution successful. [2025-09-21 20:38:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2117ms [2025-09-21 20:38:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 20:38:41 INF] CORS policy execution successful. [2025-09-21 20:38:41 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 20:38:41 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 20:38:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:41 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:41 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 20:38:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:38:41 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 23.2385ms [2025-09-21 20:38:41 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 20:38:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 23.8157ms [2025-09-21 20:38:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 20:38:45 INF] CORS policy execution successful. [2025-09-21 20:38:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2372ms [2025-09-21 20:38:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 20:38:46 INF] CORS policy execution successful. [2025-09-21 20:38:46 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 20:38:46 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 20:38:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 20:38:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 20:38:46 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 20:38:46 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 20:38:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 20:38:46 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 52.8813ms [2025-09-21 20:38:46 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 20:38:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 53.5255ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=208 - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=208 - - - 204 - - 0.1928ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0574ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0554ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=208 - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=208 - - - 204 - - 0.0574ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=208 - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=208 - - - 204 - - 0.0554ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=208 - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=208 - - - 204 - - 0.0752ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=208 - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=208 - - - 204 - - 0.1775ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=208 - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=208 - - - 204 - - 0.0954ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=208 - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=208 - - - 204 - - 0.0770ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=208 - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=208 - - - 204 - - 0.1068ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=208 - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0877ms [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=208 - - - 204 - - 0.1491ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1721ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=208 - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 21:41:41 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 21:41:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 21:41:41 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 21:41:41 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 21:41:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 21:41:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 21:41:41 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 21:41:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 21:41:41 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=208 - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 21:41:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-21 21:41:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 21:41:41 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 21:41:41 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-21 21:41:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 21:41:41 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 61.7373ms [2025-09-21 21:41:41 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=208 - - - 200 - application/json;+charset=utf-8 62.2409ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=208 - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 21:41:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-21 21:41:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 21:41:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 21:41:41 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-21 21:41:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 21:41:41 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 12.1148ms [2025-09-21 21:41:41 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=208 - - - 200 - application/json;+charset=utf-8 12.5135ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=208 - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 21:41:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-21 21:41:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 21:41:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 21:41:41 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-21 21:41:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 21:41:41 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 13.1283ms [2025-09-21 21:41:41 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=208 - - - 200 - application/json;+charset=utf-8 13.5548ms [2025-09-21 21:41:41 INF] Executed DbCommand (128ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 21:41:41 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 21:41:41 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 145.5864ms [2025-09-21 21:41:41 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=208 - - - 200 - application/json;+charset=utf-8 145.9841ms [2025-09-21 21:41:41 INF] Executed DbCommand (116ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 21:41:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 21:41:41 INF] Executed DbCommand (110ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 21:41:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 21:41:41 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 143.3542ms [2025-09-21 21:41:41 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 143.8706ms [2025-09-21 21:41:41 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 158.9577ms [2025-09-21 21:41:41 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 159.3973ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=208 - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 21:41:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 21:41:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 21:41:41 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 21:41:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-21 21:41:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 21:41:41 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 16.2177ms [2025-09-21 21:41:41 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 21:41:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=208 - - - 200 - application/json;+charset=utf-8 16.6722ms [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 21:41:41 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-21 21:41:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 21:41:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 21:41:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=208 - - [2025-09-21 21:41:41 INF] CORS policy execution successful. [2025-09-21 21:41:41 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 21:41:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-21 21:41:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 21:41:42 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 21:41:42 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-21 21:41:42 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 21:41:42 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 13.8594ms [2025-09-21 21:41:42 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 21:41:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=208 - - - 200 - application/json;+charset=utf-8 14.4101ms [2025-09-21 21:41:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=208 - - [2025-09-21 21:41:42 INF] CORS policy execution successful. [2025-09-21 21:41:42 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 21:41:42 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 21:41:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 21:41:42 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 21:41:42 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 21:41:42 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 21:41:42 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 25.5762ms [2025-09-21 21:41:42 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 21:41:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=208 - - - 200 - application/json;+charset=utf-8 26.1822ms [2025-09-21 21:41:42 INF] Executed DbCommand (41ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-21 21:41:42 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 21:41:42 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 57.2395ms [2025-09-21 21:41:42 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 21:41:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 57.7776ms [2025-09-21 21:41:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=208 - - [2025-09-21 21:41:42 INF] CORS policy execution successful. [2025-09-21 21:41:42 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 21:41:42 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-21 21:41:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 21:41:42 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 21:41:42 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-21 21:41:42 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 21:41:42 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 17.9738ms [2025-09-21 21:41:42 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 21:41:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=208 - - - 200 - application/json;+charset=utf-8 18.4757ms [2025-09-21 21:41:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 21:41:42 INF] CORS policy execution successful. [2025-09-21 21:41:42 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 21:41:42 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-21 21:41:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 21:41:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=208 - - [2025-09-21 21:41:42 INF] CORS policy execution successful. [2025-09-21 21:41:42 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 21:41:42 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 21:41:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 21:41:42 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 21:41:42 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-21 21:41:42 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 21:41:42 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 21.2482ms [2025-09-21 21:41:42 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 21:41:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 21.7320ms [2025-09-21 21:41:42 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 21:41:42 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 21:41:42 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 21:41:42 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 21.504ms [2025-09-21 21:41:42 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 21:41:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=208 - - - 200 - application/json;+charset=utf-8 22.1226ms [2025-09-21 21:41:44 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=381 - - [2025-09-21 21:41:44 INF] CORS policy execution successful. [2025-09-21 21:41:44 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=381 - - - 204 - - 0.2787ms [2025-09-21 21:41:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=381 - - [2025-09-21 21:41:44 INF] CORS policy execution successful. [2025-09-21 21:41:44 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-21 21:41:44 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 21:41:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 21:41:44 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 21:41:44 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 21:41:44 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-21 21:41:44 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 29.0019ms [2025-09-21 21:41:44 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-21 21:41:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=381 - - - 200 - application/json;+charset=utf-8 29.6616ms [2025-09-21 21:41:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=batalionu%20parasol3_227_260_umowa%20najmu_15082025.pdf&id=381 - - [2025-09-21 21:41:45 INF] CORS policy execution successful. [2025-09-21 21:41:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=batalionu%20parasol3_227_260_umowa%20najmu_15082025.pdf&id=381 - - - 204 - - 0.2263ms [2025-09-21 21:41:45 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=batalionu%20parasol3_227_260_umowa%20najmu_15082025.pdf&id=381 - - [2025-09-21 21:41:45 INF] CORS policy execution successful. [2025-09-21 21:41:45 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-21 21:41:45 INF] Route matched with {action = "GetFile", controller = "File"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetFile(System.String, System.String, Int32) on controller Web.Controllers.API.FileController (Web). [2025-09-21 21:41:45 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-21 21:41:45 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 1.912ms [2025-09-21 21:41:45 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-21 21:41:45 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=batalionu%20parasol3_227_260_umowa%20najmu_15082025.pdf&id=381 - - - 200 547595 application/pdf 2.4941ms [2025-09-21 22:05:21 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 22:05:21 INF] CORS policy execution successful. [2025-09-21 22:05:21 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2815ms [2025-09-21 22:05:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 22:05:21 INF] CORS policy execution successful. [2025-09-21 22:05:21 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 22:05:21 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 22:05:21 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:05:21 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:05:21 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 22:05:22 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 22:05:22 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:05:22 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 68.5975ms [2025-09-21 22:05:22 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 22:05:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 69.4333ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=240 - - - 204 - - 0.2587ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0774ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0889ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0629ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=240 - - - 204 - - 0.0636ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=240 - - - 204 - - 0.0620ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=240 - - - 204 - - 0.1501ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=240 - - - 204 - - 0.2084ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=240 - - - 204 - - 0.0894ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0919ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=240 - - - 204 - - 0.0517ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=240 - - - 204 - - 0.1205ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=240 - - - 204 - - 0.1963ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 22:38:51 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 22:38:51 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 22:38:51 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-21 22:38:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:38:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 22:38:51 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 22:38:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 22:38:51 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-21 22:38:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 22:38:51 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 22:38:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 22:38:51 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-21 22:38:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:38:51 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:38:51 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-21 22:38:51 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:38:51 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 22:38:51 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 22:38:51 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 58.8542ms [2025-09-21 22:38:51 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=240 - - - 200 - application/json;+charset=utf-8 59.3434ms [2025-09-21 22:38:51 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:38:51 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 22:38:51 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 22:38:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:38:51 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:38:51 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-21 22:38:51 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:38:51 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 74.2996ms [2025-09-21 22:38:51 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 74.8384ms [2025-09-21 22:38:51 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:38:51 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:38:51 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-21 22:38:51 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:38:51 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 102.8143ms [2025-09-21 22:38:51 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=240 - - - 200 - application/json;+charset=utf-8 103.1509ms [2025-09-21 22:38:51 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-21 22:38:51 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:38:51 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 106.9103ms [2025-09-21 22:38:51 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 108.7807ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 22:38:51 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-21 22:38:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 22:38:51 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-21 22:38:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 22:38:51 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-21 22:38:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:38:51 INF] Executed DbCommand (11ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:38:51 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:38:51 INF] Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 22:38:51 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:38:51 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-21 22:38:51 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:38:51 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 26.723ms [2025-09-21 22:38:51 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=240 - - - 200 - application/json;+charset=utf-8 27.1113ms [2025-09-21 22:38:51 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:38:51 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-21 22:38:51 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:38:51 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 43.1768ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 22:38:51 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=240 - - - 200 - application/json;+charset=utf-8 43.7225ms [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 22:38:51 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 22:38:51 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 151.0951ms [2025-09-21 22:38:51 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 153.8228ms [2025-09-21 22:38:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:38:51 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:38:51 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 162.4444ms [2025-09-21 22:38:51 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=240 - - - 200 - application/json;+charset=utf-8 163.1404ms [2025-09-21 22:38:51 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:38:51 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-21 22:38:51 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:38:51 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 44.2929ms [2025-09-21 22:38:51 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=240 - - - 200 - application/json;+charset=utf-8 44.7437ms [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 22:38:51 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-21 22:38:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:38:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=240 - - [2025-09-21 22:38:51 INF] CORS policy execution successful. [2025-09-21 22:38:51 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 22:38:51 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 22:38:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:38:51 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:38:51 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 102.5402ms [2025-09-21 22:38:51 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=240 - - - 200 - application/json;+charset=utf-8 104.2624ms [2025-09-21 22:38:51 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:38:51 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 22:38:51 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:38:51 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-21 22:38:51 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:38:51 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 23.3621ms [2025-09-21 22:38:51 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=240 - - - 200 - application/json;+charset=utf-8 23.7679ms [2025-09-21 22:38:51 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:38:51 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 40.4775ms [2025-09-21 22:38:51 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 40.9667ms [2025-09-21 22:38:51 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:38:51 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 22:38:51 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 22:38:51 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 29.1943ms [2025-09-21 22:38:51 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 22:38:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=240 - - - 200 - application/json;+charset=utf-8 30.5669ms [2025-09-21 22:38:58 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=205 - - [2025-09-21 22:38:58 INF] CORS policy execution successful. [2025-09-21 22:38:58 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=205 - - - 204 - - 0.2427ms [2025-09-21 22:38:58 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=205 - - [2025-09-21 22:38:58 INF] CORS policy execution successful. [2025-09-21 22:38:58 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-21 22:38:58 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 22:38:58 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:38:58 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:38:58 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 22:38:58 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-21 22:38:58 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 27.9045ms [2025-09-21 22:38:58 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-21 22:38:58 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=205 - - - 200 - application/json;+charset=utf-8 28.4049ms [2025-09-21 22:39:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - [2025-09-21 22:39:02 INF] CORS policy execution successful. [2025-09-21 22:39:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - - 204 - - 1.4750ms [2025-09-21 22:39:02 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryvPKYdVu55DTiMzaH 830 [2025-09-21 22:39:02 INF] CORS policy execution successful. [2025-09-21 22:39:02 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-09-21 22:39:02 INF] Route matched with {action = "Update", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Update(Web.Models.API.RentalContracts.RentalContractUpdateVM) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 22:39:02 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:39:02 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:39:02 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId" FROM "RentalContracts" AS r WHERE r."Id" = @__p_0 LIMIT 1 [2025-09-21 22:39:02 INF] Executed DbCommand (1ms) [Parameters=[@p9='?' (DbType = Int32), @p0='?' (DbType = DateTime), @p1='?' (DbType = Int32), @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = Decimal), @p5='?' (DbType = Decimal), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int32), @p8='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] UPDATE "RentalContracts" SET "CreateTime" = @p0, "EmployeeId" = @p1, "EndDate" = @p2, "FlatId" = @p3, "HGMTFee" = @p4, "RentPrice" = @p5, "StartDate" = @p6, "Status" = @p7, "TenantId" = @p8 WHERE "Id" = @p9; [2025-09-21 22:39:02 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-21 22:39:02 INF] Executed action Web.Controllers.API.RentalContractController.Update (Web) in 17.3334ms [2025-09-21 22:39:02 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-09-21 22:39:02 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryvPKYdVu55DTiMzaH 830 - 200 0 - 17.8945ms [2025-09-21 22:39:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=240 - - [2025-09-21 22:39:02 INF] CORS policy execution successful. [2025-09-21 22:39:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=240 - - - 204 - - 0.1787ms [2025-09-21 22:39:02 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=240 - - [2025-09-21 22:39:02 INF] CORS policy execution successful. [2025-09-21 22:39:02 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 22:39:02 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 22:39:02 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:39:02 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:39:02 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 22:39:02 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:39:02 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 26.8438ms [2025-09-21 22:39:02 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 22:39:02 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=240 - - - 200 - application/json;+charset=utf-8 27.3632ms [2025-09-21 22:39:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=205 - - [2025-09-21 22:39:19 INF] CORS policy execution successful. [2025-09-21 22:39:19 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=205 - - - 204 - - 0.2356ms [2025-09-21 22:39:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=205 - - [2025-09-21 22:39:19 INF] CORS policy execution successful. [2025-09-21 22:39:19 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-21 22:39:19 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 22:39:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:39:19 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:39:19 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 22:39:19 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-21 22:39:19 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 26.4447ms [2025-09-21 22:39:19 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-21 22:39:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=205 - - - 200 - application/json;+charset=utf-8 27.0205ms [2025-09-21 22:39:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - [2025-09-21 22:39:29 INF] CORS policy execution successful. [2025-09-21 22:39:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - - 204 - - 0.2198ms [2025-09-21 22:39:29 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryCUHcdQjrKv0rpaMr 11206316 [2025-09-21 22:39:29 INF] CORS policy execution successful. [2025-09-21 22:39:29 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-09-21 22:39:29 INF] Route matched with {action = "Update", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Update(Web.Models.API.RentalContracts.RentalContractUpdateVM) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 22:39:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:39:29 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:39:31 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId" FROM "RentalContracts" AS r WHERE r."Id" = @__p_0 LIMIT 1 [2025-09-21 22:39:31 INF] Executed DbCommand (1ms) [Parameters=[@p9='?' (DbType = Int32), @p0='?' (DbType = DateTime), @p1='?' (DbType = Int32), @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = Decimal), @p5='?' (DbType = Decimal), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int32), @p8='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] UPDATE "RentalContracts" SET "CreateTime" = @p0, "EmployeeId" = @p1, "EndDate" = @p2, "FlatId" = @p3, "HGMTFee" = @p4, "RentPrice" = @p5, "StartDate" = @p6, "Status" = @p7, "TenantId" = @p8 WHERE "Id" = @p9; [2025-09-21 22:39:31 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-21 22:39:31 INF] Executed action Web.Controllers.API.RentalContractController.Update (Web) in 1910.9031ms [2025-09-21 22:39:31 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-09-21 22:39:31 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryCUHcdQjrKv0rpaMr 11206316 - 200 0 - 1941.5253ms [2025-09-21 22:39:31 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=240 - - [2025-09-21 22:39:31 INF] CORS policy execution successful. [2025-09-21 22:39:31 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=240 - - - 204 - - 0.1536ms [2025-09-21 22:39:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=240 - - [2025-09-21 22:39:31 INF] CORS policy execution successful. [2025-09-21 22:39:31 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 22:39:31 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 22:39:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:39:31 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:39:31 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 22:39:31 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:39:31 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 24.7079ms [2025-09-21 22:39:31 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 22:39:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=240 - - - 200 - application/json;+charset=utf-8 25.2452ms [2025-09-21 22:39:36 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 22:39:36 INF] CORS policy execution successful. [2025-09-21 22:39:36 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2360ms [2025-09-21 22:39:36 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-21 22:39:36 INF] CORS policy execution successful. [2025-09-21 22:39:36 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 22:39:36 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 22:39:36 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:39:36 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:39:36 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 22:39:36 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 22:39:36 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:39:36 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 59.2049ms [2025-09-21 22:39:36 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-21 22:39:36 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 59.8482ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=292 - - - 204 - - 0.2243ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=292 - - - 204 - - 0.0843ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0873ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=292 - - - 204 - - 0.1069ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=292 - - - 204 - - 0.1612ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=292 - - - 204 - - 0.1044ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=292 - - - 204 - - 0.1633ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=292 - - - 204 - - 0.0862ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=292 - - - 204 - - 0.1557ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=292 - - - 204 - - 0.0832ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0991ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0943ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2193ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 22:40:17 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 22:40:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:40:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 22:40:17 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-21 22:40:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:40:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:40:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-21 22:40:17 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:40:17 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 49.6676ms [2025-09-21 22:40:17 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=292 - - - 200 - application/json;+charset=utf-8 50.1798ms [2025-09-21 22:40:17 INF] Executed DbCommand (51ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 22:40:17 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 22:40:17 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 68.661ms [2025-09-21 22:40:17 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=292 - - - 200 - application/json;+charset=utf-8 69.1386ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 22:40:17 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-21 22:40:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:40:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:40:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-21 22:40:17 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:40:17 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 14.2798ms [2025-09-21 22:40:17 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=292 - - - 200 - application/json;+charset=utf-8 14.7294ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 22:40:17 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-21 22:40:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:40:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 22:40:17 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-21 22:40:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:40:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:40:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-21 22:40:17 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:40:17 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 14.3184ms [2025-09-21 22:40:17 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=292 - - - 200 - application/json;+charset=utf-8 14.7811ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 22:40:17 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-21 22:40:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:40:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:40:17 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-21 22:40:17 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:40:17 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 13.1745ms [2025-09-21 22:40:17 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=292 - - - 200 - application/json;+charset=utf-8 13.6735ms [2025-09-21 22:40:17 INF] Executed DbCommand (29ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-21 22:40:17 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 22:40:17 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-21 22:40:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:40:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:40:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-21 22:40:17 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:40:17 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 15.7228ms [2025-09-21 22:40:17 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=292 - - - 200 - application/json;+charset=utf-8 16.2315ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 22:40:17 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 22:40:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:40:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:40:17 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 22:40:17 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:40:17 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 27.1913ms [2025-09-21 22:40:17 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=292 - - - 200 - application/json;+charset=utf-8 27.7742ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 22:40:17 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-21 22:40:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 22:40:17 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-21 22:40:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:40:17 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 22:40:17 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-21 22:40:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:40:17 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-21 22:40:17 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:40:17 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 23.2789ms [2025-09-21 22:40:17 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=292 - - - 200 - application/json;+charset=utf-8 23.6818ms [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 22:40:17 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-21 22:40:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:40:17 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:40:17 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 148.6334ms [2025-09-21 22:40:17 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 149.2158ms [2025-09-21 22:40:17 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-21 22:40:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=292 - - [2025-09-21 22:40:17 INF] CORS policy execution successful. [2025-09-21 22:40:17 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 22:40:17 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-21 22:40:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:40:17 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:40:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:40:17 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:40:17 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 57.6717ms [2025-09-21 22:40:17 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 58.2791ms [2025-09-21 22:40:17 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-21 22:40:17 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-21 22:40:17 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:40:17 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 39.6219ms [2025-09-21 22:40:17 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 42.1150ms [2025-09-21 22:40:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:40:17 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-21 22:40:17 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-21 22:40:17 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-21 22:40:17 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 52.7761ms [2025-09-21 22:40:17 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-21 22:40:17 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 24.9781ms [2025-09-21 22:40:17 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=292 - - - 200 - application/json;+charset=utf-8 26.5718ms [2025-09-21 22:40:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 60.5009ms [2025-09-21 22:40:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=378 - - [2025-09-21 22:40:23 INF] CORS policy execution successful. [2025-09-21 22:40:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=378 - - - 204 - - 0.2259ms [2025-09-21 22:40:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=378 - - [2025-09-21 22:40:23 INF] CORS policy execution successful. [2025-09-21 22:40:23 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-21 22:40:23 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-21 22:40:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-21 22:40:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-21 22:40:23 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-21 22:40:23 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-21 22:40:23 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 28.8779ms [2025-09-21 22:40:23 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-21 22:40:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=378 - - - 200 - application/json;+charset=utf-8 29.4956ms