[2025-12-02 00:48:05 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/robots.txt - - [2025-12-02 00:48:05 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/robots.txt - - - 404 0 - 1.8424ms [2025-12-02 00:48:05 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-12-02 00:48:05 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 0.1439ms [2025-12-02 01:42:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-12-02 01:42:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.2317ms [2025-12-02 01:42:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-12-02 01:42:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.1698ms [2025-12-02 01:43:02 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-12-02 01:43:02 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.1806ms [2025-12-02 03:02:06 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-12-02 03:02:06 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 0.1878ms [2025-12-02 03:19:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-12-02 03:19:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.1910ms [2025-12-02 03:19:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/favicon.ico - - [2025-12-02 03:19:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/favicon.ico - - - 404 0 - 0.2054ms [2025-12-02 03:19:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-12-02 03:19:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.1794ms [2025-12-02 03:19:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/favicon.ico - - [2025-12-02 03:19:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/favicon.ico - - - 404 0 - 0.1994ms [2025-12-02 03:25:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-12-02 03:25:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.2252ms [2025-12-02 03:25:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-12-02 03:25:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.1897ms [2025-12-02 04:00:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 04:00: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-12-02 04:00:00 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-12-02 06:47:02 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-12-02 06:47:02 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.2369ms [2025-12-02 07:54:50 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 07:54:50 INF] CORS policy execution successful. [2025-12-02 07:54:50 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2242ms [2025-12-02 07:54:50 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 07:54:50 INF] CORS policy execution successful. [2025-12-02 07:54:50 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 07:54:50 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-12-02 07:54:50 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:54:50 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-12-02 07:54:50 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-12-02 07:54:50 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-12-02 07:54:50 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-12-02 07:54:50 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 245.0828ms [2025-12-02 07:54:50 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 07:54:50 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 245.7489ms [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 204 - - 0.1801ms [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=206 - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=206 - - - 204 - - 0.0701ms [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0886ms [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=206 - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=206 - - - 204 - - 0.1101ms [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=206 - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=206 - - - 204 - - 0.1647ms [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=206 - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=206 - - - 204 - - 0.1291ms [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=206 - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - - 204 - - 0.1866ms [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=206 - - - 204 - - 0.1955ms [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=206 - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=206 - - - 204 - - 0.0939ms [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 204 - - 0.1025ms [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1403ms [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1288ms [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2132ms [2025-12-02 07:55:11 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 07:55:11 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-12-02 07:55:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=206 - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 07:55:11 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 07:55:11 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-12-02 07:55:11 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-12-02 07:55:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:55:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=206 - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 07:55:11 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-12-02 07:55:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:55:11 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-12-02 07:55:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=206 - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 07:55:11 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-12-02 07:55:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:55:11 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-12-02 07:55:11 INF] Executed DbCommand (29ms) [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-12-02 07:55:11 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 07:55:11 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 47.967ms [2025-12-02 07:55:11 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 200 - application/json;+charset=utf-8 48.6287ms [2025-12-02 07:55:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=206 - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 07:55:11 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-12-02 07:55:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:55:11 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-12-02 07:55:11 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-12-02 07:55:11 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-12-02 07:55:11 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-12-02 07:55:11 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-12-02 07:55:11 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 65.098ms [2025-12-02 07:55:11 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 65.6429ms [2025-12-02 07:55:11 INF] Executed DbCommand (32ms) [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-12-02 07:55:11 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-12-02 07:55:11 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 07:55:11 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-12-02 07:55:11 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 41.2951ms [2025-12-02 07:55:11 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 41.6850ms [2025-12-02 07:55:11 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-12-02 07:55:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=206 - - [2025-12-02 07:55:11 INF] CORS policy execution successful. [2025-12-02 07:55:11 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 07:55:11 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-12-02 07:55:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:55:11 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-12-02 07:55:11 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-12-02 07:55:11 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 77.916ms [2025-12-02 07:55:11 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 07:55:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 78.2744ms [2025-12-02 07:55:12 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-12-02 07:55:12 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-12-02 07:55:12 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-12-02 07:55:12 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-12-02 07:55:12 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 22.9762ms [2025-12-02 07:55:12 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 07:55:12 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 23.5274ms [2025-12-02 07:55:12 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 114.3665ms [2025-12-02 07:55:12 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 07:55:12 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 115.2287ms [2025-12-02 07:55:12 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-12-02 07:55:12 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 130.7325ms [2025-12-02 07:55:12 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 07:55:12 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=206 - - - 200 - application/json;+charset=utf-8 131.3853ms [2025-12-02 07:55:12 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=206 - - [2025-12-02 07:55:12 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - [2025-12-02 07:55:12 INF] CORS policy execution successful. [2025-12-02 07:55:12 INF] CORS policy execution successful. [2025-12-02 07:55:12 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 07:55:12 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 07:55:12 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-12-02 07:55:12 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-12-02 07:55:12 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:55:12 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:55:12 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 07:55:12 INF] CORS policy execution successful. [2025-12-02 07:55:12 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 07:55:12 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-12-02 07:55:12 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:55:12 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-12-02 07:55:12 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-12-02 07:55:12 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-12-02 07:55:12 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 20.0432ms [2025-12-02 07:55:12 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 07:55:12 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 20.3943ms [2025-12-02 07:55:12 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-12-02 07:55:12 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-12-02 07:55:12 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 07:55:12 INF] CORS policy execution successful. [2025-12-02 07:55:12 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 07:55:12 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-12-02 07:55:12 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:55:12 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", 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-12-02 07:55:12 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-12-02 07:55:12 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-12-02 07:55:12 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 07:55:12 INF] CORS policy execution successful. [2025-12-02 07:55:12 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 07:55:12 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-12-02 07:55:12 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:55:12 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-12-02 07:55:12 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 45.9065ms [2025-12-02 07:55:12 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 07:55:12 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 46.1970ms [2025-12-02 07:55:12 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 41.1193ms [2025-12-02 07:55:12 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 07:55:12 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 41.4564ms [2025-12-02 07:55:12 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-12-02 07:55:12 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-12-02 07:55:12 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-12-02 07:55:12 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-12-02 07:55:12 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-12-02 07:55:12 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 15.5041ms [2025-12-02 07:55:12 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 07:55:12 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-12-02 07:55:12 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 16.3715ms [2025-12-02 07:55:12 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 37.071ms [2025-12-02 07:55:12 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 07:55:12 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 37.5664ms [2025-12-02 07:55:12 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 07:55:12 INF] CORS policy execution successful. [2025-12-02 07:55:12 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 07:55:12 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-12-02 07:55:12 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:55:12 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-12-02 07:55:12 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-12-02 07:55:12 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 07:55:12 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 13.656ms [2025-12-02 07:55:12 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 07:55:12 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 200 - application/json;+charset=utf-8 14.2988ms [2025-12-02 07:55:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 07:55:17 INF] CORS policy execution successful. [2025-12-02 07:55:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.2263ms [2025-12-02 07:55:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 07:55:17 INF] CORS policy execution successful. [2025-12-02 07:55:17 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 07:55: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-12-02 07:55:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:55: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-12-02 07:55:17 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-12-02 07:55: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-12-02 07:55:17 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 17.8019ms [2025-12-02 07:55:17 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 07:55:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 18.2577ms [2025-12-02 07:58:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/create - - [2025-12-02 07:58:25 INF] CORS policy execution successful. [2025-12-02 07:58:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/create - - - 204 - - 0.2446ms [2025-12-02 07:58:25 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/tenant/create application/json 178 [2025-12-02 07:58:25 INF] CORS policy execution successful. [2025-12-02 07:58:25 INF] Executing endpoint 'Web.Controllers.API.TenantController.Create (Web)' [2025-12-02 07:58:25 INF] Route matched with {action = "Create", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Create(Web.Models.API.Tenants.TenantCreateVM) on controller Web.Controllers.API.TenantController (Web). [2025-12-02 07:58:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:58:25 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-12-02 07:58:25 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-12-02 07:58:25 INF] Executed DbCommand (1ms) [Parameters=[@p12='?' (DbType = Int32), @p13='?'], CommandType='"Text"', CommandTimeout='30'] INSERT INTO "Tenants" ("Id", "Comment") VALUES (@p12, @p13); [2025-12-02 07:58:25 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 07:58:25 INF] Executed action Web.Controllers.API.TenantController.Create (Web) in 27.7415ms [2025-12-02 07:58:25 INF] Executed endpoint 'Web.Controllers.API.TenantController.Create (Web)' [2025-12-02 07:58:25 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/tenant/create application/json 178 - 200 0 - 28.3044ms [2025-12-02 07:58:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 07:58:25 INF] CORS policy execution successful. [2025-12-02 07:58:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.2148ms [2025-12-02 07:58:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 07:58:25 INF] CORS policy execution successful. [2025-12-02 07:58:25 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 07:58:25 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-12-02 07:58:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:58:25 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-12-02 07:58:25 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", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-12-02 07:58:25 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-12-02 07:58:25 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 21.6495ms [2025-12-02 07:58:25 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 07:58:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 22.1663ms [2025-12-02 07:58:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 07:58:29 INF] CORS policy execution successful. [2025-12-02 07:58:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2076ms [2025-12-02 07:58:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 07:58:29 INF] CORS policy execution successful. [2025-12-02 07:58:29 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 07:58:29 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-12-02 07:58:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:58: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-12-02 07:58:29 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-12-02 07:58:29 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-12-02 07:58: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-12-02 07:58:29 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 65.305ms [2025-12-02 07:58:29 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 07:58:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 65.9497ms [2025-12-02 07:58:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 07:58:39 INF] CORS policy execution successful. [2025-12-02 07:58:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 204 - - 0.2696ms [2025-12-02 07:58:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 07:58:39 INF] CORS policy execution successful. [2025-12-02 07:58:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1734ms [2025-12-02 07:58:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=206 - - [2025-12-02 07:58:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=206 - - [2025-12-02 07:58:39 INF] CORS policy execution successful. [2025-12-02 07:58:39 INF] CORS policy execution successful. [2025-12-02 07:58:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=206 - - - 204 - - 0.1078ms [2025-12-02 07:58:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=206 - - - 204 - - 0.0750ms [2025-12-02 07:58:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=206 - - [2025-12-02 07:58:39 INF] CORS policy execution successful. [2025-12-02 07:58:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=206 - - [2025-12-02 07:58:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=206 - - - 204 - - 0.1693ms [2025-12-02 07:58:39 INF] CORS policy execution successful. [2025-12-02 07:58:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=206 - - - 204 - - 0.0964ms [2025-12-02 07:58:40 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=206 - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=206 - - - 204 - - 0.1801ms [2025-12-02 07:58:40 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=206 - - [2025-12-02 07:58:40 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=206 - - - 204 - - 0.2411ms [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - - 204 - - 0.3641ms [2025-12-02 07:58:40 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 204 - - 0.1854ms [2025-12-02 07:58:40 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0719ms [2025-12-02 07:58:40 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1029ms [2025-12-02 07:58:40 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2568ms [2025-12-02 07:58:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:58:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=206 - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:58:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:58:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=206 - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=206 - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 07:58:40 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 20.5433ms [2025-12-02 07:58:40 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 200 - application/json;+charset=utf-8 20.9544ms [2025-12-02 07:58:40 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-12-02 07:58:40 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-12-02 07:58:40 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-12-02 07:58:40 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 26.9179ms [2025-12-02 07:58:40 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 27.3779ms [2025-12-02 07:58:40 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-12-02 07:58: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-12-02 07:58:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=206 - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Executed DbCommand (7ms) [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-12-02 07:58: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-12-02 07:58:40 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-12-02 07:58:40 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-12-02 07:58:40 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 46.0247ms [2025-12-02 07:58:40 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 46.4822ms [2025-12-02 07:58:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=206 - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 33.9716ms [2025-12-02 07:58:40 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 36.0371ms [2025-12-02 07:58: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-12-02 07:58:40 INF] Executed DbCommand (3ms) [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-12-02 07:58:40 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-12-02 07:58:40 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 24.7809ms [2025-12-02 07:58:40 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 25.5115ms [2025-12-02 07:58:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=206 - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:58:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:58: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-12-02 07:58:40 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-12-02 07:58:40 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-12-02 07:58:40 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 23.4435ms [2025-12-02 07:58:40 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 24.2478ms [2025-12-02 07:58:40 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-12-02 07:58:40 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-12-02 07:58:40 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-12-02 07:58:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:58:40 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 128.3203ms [2025-12-02 07:58:40 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 129.8302ms [2025-12-02 07:58:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 38.2231ms [2025-12-02 07:58:40 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 38.7143ms [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 137.9344ms [2025-12-02 07:58:40 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=206 - - - 200 - application/json;+charset=utf-8 138.3731ms [2025-12-02 07:58:40 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-12-02 07:58:40 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-12-02 07:58: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-12-02 07:58:40 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-12-02 07:58:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 31.7479ms [2025-12-02 07:58:40 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 32.4290ms [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 32.056ms [2025-12-02 07:58:40 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 32.5195ms [2025-12-02 07:58: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-12-02 07:58:40 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-12-02 07:58:40 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-12-02 07:58:40 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 16.9332ms [2025-12-02 07:58:40 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 17.7462ms [2025-12-02 07:58:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 07:58:40 INF] CORS policy execution successful. [2025-12-02 07:58:40 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 07:58:40 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-12-02 07:58:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:58: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-12-02 07:58:40 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-12-02 07:58:40 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 07:58:40 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 20.5771ms [2025-12-02 07:58:40 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 07:58:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 200 - application/json;+charset=utf-8 21.2306ms [2025-12-02 07:59:36 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/create - - [2025-12-02 07:59:36 INF] CORS policy execution successful. [2025-12-02 07:59:36 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/create - - - 204 - - 0.2035ms [2025-12-02 07:59:36 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/rentalContract/create multipart/form-data;+boundary=----WebKitFormBoundarypd6f5PNWa9mxF1jM 931 [2025-12-02 07:59:36 INF] CORS policy execution successful. [2025-12-02 07:59:36 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Create (Web)' [2025-12-02 07:59:36 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-12-02 07:59:36 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:59:36 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-12-02 07:59:36 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-12-02 07:59:36 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 07:59:36 INF] Executed action Web.Controllers.API.RentalContractController.Create (Web) in 22.426ms [2025-12-02 07:59:36 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Create (Web)' [2025-12-02 07:59:36 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/rentalContract/create multipart/form-data;+boundary=----WebKitFormBoundarypd6f5PNWa9mxF1jM 931 - 200 0 - 22.9731ms [2025-12-02 07:59:36 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - [2025-12-02 07:59:36 INF] CORS policy execution successful. [2025-12-02 07:59:36 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - - 204 - - 0.1787ms [2025-12-02 07:59:36 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - [2025-12-02 07:59:36 INF] CORS policy execution successful. [2025-12-02 07:59:36 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 07:59:36 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-12-02 07:59:36 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 07:59: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-12-02 07:59: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-12-02 07:59:36 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-12-02 07:59:36 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 31.257ms [2025-12-02 07:59:36 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 07:59:36 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 31.7087ms [2025-12-02 08:01:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1017 - - [2025-12-02 08:01:03 INF] CORS policy execution successful. [2025-12-02 08:01:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1017 - - - 204 - - 0.1952ms [2025-12-02 08:01:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1017 - - [2025-12-02 08:01:03 INF] CORS policy execution successful. [2025-12-02 08:01:03 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:01:03 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-12-02 08:01:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:01:03 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-12-02 08:01:03 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-12-02 08:01:03 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-12-02 08:01:03 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 18.0499ms [2025-12-02 08:01:03 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:01:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1017 - - - 200 - application/json;+charset=utf-8 18.5223ms [2025-12-02 08:01:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-12-02 08:01:32 INF] CORS policy execution successful. [2025-12-02 08:01:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2021ms [2025-12-02 08:01:32 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundarymrPrMmx86lnBSBOC 1136 [2025-12-02 08:01:32 INF] CORS policy execution successful. [2025-12-02 08:01:32 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 08:01:32 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-12-02 08:01:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:01: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-12-02 08:01:32 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-12-02 08:01:32 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-12-02 08:01:32 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 08:01:32 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 15.7237ms [2025-12-02 08:01:32 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 08:01:32 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundarymrPrMmx86lnBSBOC 1136 - 200 0 - 16.2614ms [2025-12-02 08:01:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 08:01:32 INF] CORS policy execution successful. [2025-12-02 08:01:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 204 - - 0.1913ms [2025-12-02 08:01:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 08:01:32 INF] CORS policy execution successful. [2025-12-02 08:01:32 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:01:32 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-12-02 08:01:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:01: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-12-02 08:01:32 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-12-02 08:01:32 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 08:01:32 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 15.9748ms [2025-12-02 08:01:32 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:01:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 200 - application/json;+charset=utf-8 16.5157ms [2025-12-02 08:01:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1022 - - [2025-12-02 08:01:48 INF] CORS policy execution successful. [2025-12-02 08:01:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1022 - - - 204 - - 0.2207ms [2025-12-02 08:01:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1022 - - [2025-12-02 08:01:48 INF] CORS policy execution successful. [2025-12-02 08:01:48 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:01:48 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-12-02 08:01:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:01:48 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-12-02 08:01:48 INF] Executed DbCommand (0ms) [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-12-02 08:01:48 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-12-02 08:01:48 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 19.7385ms [2025-12-02 08:01:48 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:01:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1022 - - - 200 - application/json;+charset=utf-8 20.2017ms [2025-12-02 08:02:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-12-02 08:02:07 INF] CORS policy execution successful. [2025-12-02 08:02:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.1959ms [2025-12-02 08:02:07 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryAkSpvKW2HxO8W1c7 1144 [2025-12-02 08:02:07 INF] CORS policy execution successful. [2025-12-02 08:02:07 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 08:02:07 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-12-02 08:02:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:02:07 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-12-02 08:02:07 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-12-02 08:02:07 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-12-02 08:02:07 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 08:02:07 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 17.1395ms [2025-12-02 08:02:07 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 08:02:07 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryAkSpvKW2HxO8W1c7 1144 - 200 0 - 17.7158ms [2025-12-02 08:02:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 08:02:08 INF] CORS policy execution successful. [2025-12-02 08:02:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 204 - - 0.2215ms [2025-12-02 08:02:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 08:02:08 INF] CORS policy execution successful. [2025-12-02 08:02:08 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:02:08 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-12-02 08:02:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:02:08 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-12-02 08:02:08 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-12-02 08:02:08 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 08:02:08 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 14.8085ms [2025-12-02 08:02:08 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:02:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 200 - application/json;+charset=utf-8 15.3615ms [2025-12-02 08:02:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1018 - - [2025-12-02 08:02:19 INF] CORS policy execution successful. [2025-12-02 08:02:19 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1018 - - - 204 - - 0.1894ms [2025-12-02 08:02:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1018 - - [2025-12-02 08:02:19 INF] CORS policy execution successful. [2025-12-02 08:02:19 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:02: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-12-02 08:02:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:02:19 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-12-02 08:02:19 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-12-02 08:02:19 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-12-02 08:02:19 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 21.041ms [2025-12-02 08:02:19 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:02:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1018 - - - 200 - application/json;+charset=utf-8 21.6523ms [2025-12-02 08:02:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-12-02 08:02:37 INF] CORS policy execution successful. [2025-12-02 08:02:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2059ms [2025-12-02 08:02:37 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundary4wkujM2Vyd9VKfp4 1225 [2025-12-02 08:02:37 INF] CORS policy execution successful. [2025-12-02 08:02:37 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 08:02:37 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-12-02 08:02:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:02: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-12-02 08:02:37 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-12-02 08:02:37 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-12-02 08:02:37 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 08:02:37 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 17.0667ms [2025-12-02 08:02:37 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 08:02:37 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundary4wkujM2Vyd9VKfp4 1225 - 200 0 - 17.6129ms [2025-12-02 08:02:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 08:02:37 INF] CORS policy execution successful. [2025-12-02 08:02:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 204 - - 0.2033ms [2025-12-02 08:02:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 08:02:37 INF] CORS policy execution successful. [2025-12-02 08:02:37 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:02: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-12-02 08:02:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:02: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-12-02 08:02:37 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-12-02 08:02:37 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 08:02:37 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 13.9505ms [2025-12-02 08:02:37 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:02:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 200 - application/json;+charset=utf-8 14.4328ms [2025-12-02 08:02:40 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1019 - - [2025-12-02 08:02:40 INF] CORS policy execution successful. [2025-12-02 08:02:40 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1019 - - - 204 - - 0.2117ms [2025-12-02 08:02:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1019 - - [2025-12-02 08:02:40 INF] CORS policy execution successful. [2025-12-02 08:02:40 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:02:40 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-12-02 08:02:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:02: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-12-02 08:02:40 INF] Executed DbCommand (0ms) [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-12-02 08:02:40 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-12-02 08:02:40 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 16.3275ms [2025-12-02 08:02:40 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:02:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1019 - - - 200 - application/json;+charset=utf-8 16.8142ms [2025-12-02 08:03:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-12-02 08:03:01 INF] CORS policy execution successful. [2025-12-02 08:03:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2220ms [2025-12-02 08:03:01 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryvgqy3Ur6M4WNNRYw 1148 [2025-12-02 08:03:01 INF] CORS policy execution successful. [2025-12-02 08:03:01 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 08:03:01 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-12-02 08:03:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:03:01 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-12-02 08:03:01 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-12-02 08:03:01 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-12-02 08:03:01 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 08:03:01 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 19.925ms [2025-12-02 08:03:01 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 08:03:01 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryvgqy3Ur6M4WNNRYw 1148 - 200 0 - 20.4387ms [2025-12-02 08:03:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 08:03:01 INF] CORS policy execution successful. [2025-12-02 08:03:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 204 - - 0.1866ms [2025-12-02 08:03:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 08:03:01 INF] CORS policy execution successful. [2025-12-02 08:03:01 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:03:01 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-12-02 08:03:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:03:01 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-12-02 08:03:01 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-12-02 08:03:01 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 08:03:01 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 15.4228ms [2025-12-02 08:03:01 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:03:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 200 - application/json;+charset=utf-8 15.8816ms [2025-12-02 08:03:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1020 - - [2025-12-02 08:03:08 INF] CORS policy execution successful. [2025-12-02 08:03:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1020 - - - 204 - - 0.2018ms [2025-12-02 08:03:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1020 - - [2025-12-02 08:03:08 INF] CORS policy execution successful. [2025-12-02 08:03:08 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:03:08 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-12-02 08:03:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:03:08 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-12-02 08:03:08 INF] Executed DbCommand (0ms) [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-12-02 08:03:08 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-12-02 08:03:08 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 15.8371ms [2025-12-02 08:03:08 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:03:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1020 - - - 200 - application/json;+charset=utf-8 16.2977ms [2025-12-02 08:03:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-12-02 08:03:22 INF] CORS policy execution successful. [2025-12-02 08:03:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2066ms [2025-12-02 08:03:22 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryeEAIoZFloGhabZkv 1145 [2025-12-02 08:03:22 INF] CORS policy execution successful. [2025-12-02 08:03:22 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 08:03: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-12-02 08:03:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:03: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-12-02 08:03:23 INF] Executed DbCommand (4ms) [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-12-02 08:03:23 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-12-02 08:03:23 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 08:03:23 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 972.386ms [2025-12-02 08:03:23 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 08:03:23 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryeEAIoZFloGhabZkv 1145 - 200 0 - 972.9074ms [2025-12-02 08:03:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 08:03:23 INF] CORS policy execution successful. [2025-12-02 08:03:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 204 - - 0.2388ms [2025-12-02 08:03:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 08:03:23 INF] CORS policy execution successful. [2025-12-02 08:03:23 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:03: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-12-02 08:03:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:03: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-12-02 08:03:23 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-12-02 08:03:23 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 08:03:23 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 17.8844ms [2025-12-02 08:03:23 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:03:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 200 - application/json;+charset=utf-8 18.3846ms [2025-12-02 08:29:56 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 08:29:56 INF] CORS policy execution successful. [2025-12-02 08:29:56 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2580ms [2025-12-02 08:29:56 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 08:29:56 INF] CORS policy execution successful. [2025-12-02 08:29:56 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 08:29: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-12-02 08:29:56 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:29:56 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-12-02 08:29:56 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-12-02 08:29:56 INF] Executed DbCommand (7ms) [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-12-02 08:29: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-12-02 08:29:56 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 64.0762ms [2025-12-02 08:29:56 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 08:29:56 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 64.7980ms [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 204 - - 0.2142ms [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - - 204 - - 0.1994ms [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0963ms [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - - 204 - - 0.0730ms [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - - 204 - - 0.1171ms [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - - 204 - - 0.1319ms [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - - 204 - - 0.2391ms [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.3264ms [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - - 204 - - 0.7804ms [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - - 204 - - 0.1618ms [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 204 - - 5.2631ms [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0925ms [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2754ms [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:30:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 35.7212ms [2025-12-02 08:30:06 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 36.3346ms [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:30:06 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-12-02 08:30:06 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-12-02 08:30:06 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 08:30:06 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 45.507ms [2025-12-02 08:30:06 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 200 - application/json;+charset=utf-8 46.2074ms [2025-12-02 08:30: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-12-02 08:30:06 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 44.6092ms [2025-12-02 08:30:06 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 45.1376ms [2025-12-02 08:30: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-12-02 08:30:06 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-12-02 08:30:06 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-12-02 08:30:06 INF] Executed DbCommand (7ms) [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-12-02 08:30:06 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 70.8082ms [2025-12-02 08:30:06 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 71.9295ms [2025-12-02 08:30:06 INF] Executed DbCommand (15ms) [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-12-02 08:30:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:30:06 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-12-02 08:30:06 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-12-02 08:30:06 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-12-02 08:30:06 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 25.9505ms [2025-12-02 08:30:06 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 26.4352ms [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:30:06 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-12-02 08:30:06 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-12-02 08:30:06 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-12-02 08:30:06 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 90.2258ms [2025-12-02 08:30:06 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 90.8349ms [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:30:06 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-12-02 08:30:06 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-12-02 08:30:06 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-12-02 08:30:06 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 35.6131ms [2025-12-02 08:30:06 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 36.0724ms [2025-12-02 08:30:06 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-12-02 08:30:06 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-12-02 08:30:06 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-12-02 08:30:06 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 62.9825ms [2025-12-02 08:30:06 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 63.4307ms [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 28.6054ms [2025-12-02 08:30:06 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 29.2664ms [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 157.5473ms [2025-12-02 08:30:06 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - - 200 - application/json;+charset=utf-8 158.1078ms [2025-12-02 08:30:06 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-12-02 08:30:06 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-12-02 08:30:06 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-12-02 08:30:06 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 20.0453ms [2025-12-02 08:30:06 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 20.4315ms [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:30:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-12-02 08:30:06 INF] CORS policy execution successful. [2025-12-02 08:30:06 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:30:06 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-12-02 08:30:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:30:06 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-12-02 08:30:06 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-12-02 08:30:06 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-12-02 08:30:06 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 16.9965ms [2025-12-02 08:30:06 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 17.5005ms [2025-12-02 08:30: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-12-02 08:30:06 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-12-02 08:30:06 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 08:30:06 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 16.0012ms [2025-12-02 08:30:06 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:30:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 200 - application/json;+charset=utf-8 16.5116ms [2025-12-02 08:30:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 08:30:08 INF] CORS policy execution successful. [2025-12-02 08:30:08 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 08:30:08 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-12-02 08:30:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:30:08 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-12-02 08:30:08 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-12-02 08:30:08 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-12-02 08:30:08 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 17.1891ms [2025-12-02 08:30:08 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 08:30:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 17.6982ms [2025-12-02 08:32:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/create - - [2025-12-02 08:32:51 INF] CORS policy execution successful. [2025-12-02 08:32:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/create - - - 204 - - 0.2106ms [2025-12-02 08:32:52 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/tenant/create application/json 209 [2025-12-02 08:32:52 INF] CORS policy execution successful. [2025-12-02 08:32:52 INF] Executing endpoint 'Web.Controllers.API.TenantController.Create (Web)' [2025-12-02 08:32:52 INF] Route matched with {action = "Create", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Create(Web.Models.API.Tenants.TenantCreateVM) on controller Web.Controllers.API.TenantController (Web). [2025-12-02 08:32:52 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:32:52 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-12-02 08:32:52 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-12-02 08:32:52 INF] Executed DbCommand (0ms) [Parameters=[@p12='?' (DbType = Int32), @p13='?'], CommandType='"Text"', CommandTimeout='30'] INSERT INTO "Tenants" ("Id", "Comment") VALUES (@p12, @p13); [2025-12-02 08:32:52 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 08:32:52 INF] Executed action Web.Controllers.API.TenantController.Create (Web) in 203.1073ms [2025-12-02 08:32:52 INF] Executed endpoint 'Web.Controllers.API.TenantController.Create (Web)' [2025-12-02 08:32:52 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/tenant/create application/json 209 - 200 0 - 203.7803ms [2025-12-02 08:32:52 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 08:32:52 INF] CORS policy execution successful. [2025-12-02 08:32:52 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1824ms [2025-12-02 08:32:52 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 08:32:52 INF] CORS policy execution successful. [2025-12-02 08:32:52 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 08:32:52 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-12-02 08:32:52 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:32:52 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-12-02 08:32:52 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-12-02 08:32:52 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-12-02 08:32:52 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 17.2755ms [2025-12-02 08:32:52 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 08:32:52 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 17.7909ms [2025-12-02 08:32:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 08:32:55 INF] CORS policy execution successful. [2025-12-02 08:32:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2052ms [2025-12-02 08:32:56 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 08:32:56 INF] CORS policy execution successful. [2025-12-02 08:32:56 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 08:32: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-12-02 08:32:56 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:32: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-12-02 08:32:56 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-12-02 08:32:56 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-12-02 08:32: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-12-02 08:32:56 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 56.5167ms [2025-12-02 08:32:56 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 08:32:56 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 57.2139ms [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 204 - - 0.2451ms [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1104ms [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - - 204 - - 0.0723ms [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - - 204 - - 0.0795ms [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - - 204 - - 0.3609ms [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - - 204 - - 0.0941ms [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - - 204 - - 0.1777ms [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - - 204 - - 0.1179ms [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - - 204 - - 0.2138ms [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 204 - - 0.1033ms [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1435ms [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1824ms [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:33:06 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 08:33:06 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-12-02 08:33:06 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-12-02 08:33:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 08:33:06 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-12-02 08:33:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 08:33:06 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-12-02 08:33:06 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 08:33:06 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-12-02 08:33:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:33:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 27.3149ms [2025-12-02 08:33: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-12-02 08:33:06 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-12-02 08:33:06 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-12-02 08:33:06 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 08:33:06 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 35.3553ms [2025-12-02 08:33:06 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 200 - application/json;+charset=utf-8 35.9081ms [2025-12-02 08:33:06 INF] Executed DbCommand (9ms) [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-12-02 08:33:06 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-12-02 08:33:06 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-12-02 08:33:06 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-12-02 08:33:06 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 08:33:06 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-12-02 08:33:06 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 75.909ms [2025-12-02 08:33:06 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 84.7190ms [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 08:33:06 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-12-02 08:33:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 08:33:06 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-12-02 08:33:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:33:06 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-12-02 08:33:06 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-12-02 08:33:06 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-12-02 08:33:06 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-12-02 08:33:06 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-12-02 08:33:06 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 111.3214ms [2025-12-02 08:33:06 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 112.6294ms [2025-12-02 08:33:06 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-12-02 08:33:06 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-12-02 08:33:06 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-12-02 08:33:06 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 35.6469ms [2025-12-02 08:33:06 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 36.2310ms [2025-12-02 08:33:06 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 135.4423ms [2025-12-02 08:33:06 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 136.0140ms [2025-12-02 08:33:06 INF] Executed DbCommand (5ms) [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-12-02 08:33:06 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-12-02 08:33:06 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 39.2752ms [2025-12-02 08:33:06 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 39.6105ms [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 08:33:06 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-12-02 08:33:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:33:06 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-12-02 08:33:06 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-12-02 08:33:06 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-12-02 08:33:06 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 19.9961ms [2025-12-02 08:33:06 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 20.8556ms [2025-12-02 08:33:06 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-12-02 08:33:06 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 165.0077ms [2025-12-02 08:33:06 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - - 200 - application/json;+charset=utf-8 165.5677ms [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 08:33:06 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-12-02 08:33:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 08:33:06 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-12-02 08:33:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 08:33:06 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-12-02 08:33:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:33: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-12-02 08:33:06 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-12-02 08:33:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 08:33:06 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-12-02 08:33:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:33:06 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-12-02 08:33:06 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-12-02 08:33:06 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", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-12-02 08:33:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-12-02 08:33:06 INF] CORS policy execution successful. [2025-12-02 08:33:06 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:33:06 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-12-02 08:33:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:33:06 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-12-02 08:33:06 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 48.4573ms [2025-12-02 08:33:06 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 49.0580ms [2025-12-02 08:33:06 INF] Executed DbCommand (12ms) [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-12-02 08:33:06 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-12-02 08:33:06 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 66.2275ms [2025-12-02 08:33:06 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 66.6319ms [2025-12-02 08:33:06 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-12-02 08:33: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-12-02 08:33:06 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-12-02 08:33:06 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-12-02 08:33:06 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 37.0326ms [2025-12-02 08:33:06 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 37.4789ms [2025-12-02 08:33:06 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-12-02 08:33:06 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 08:33:06 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 23.4599ms [2025-12-02 08:33:06 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 200 - application/json;+charset=utf-8 23.9774ms [2025-12-02 08:33:06 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-12-02 08:33:06 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 60.0477ms [2025-12-02 08:33:06 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 08:33:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 60.4925ms [2025-12-02 08:33:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/create - - [2025-12-02 08:33:41 INF] CORS policy execution successful. [2025-12-02 08:33:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/create - - - 204 - - 0.1885ms [2025-12-02 08:33:41 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/rentalContract/create multipart/form-data;+boundary=----WebKitFormBoundaryqXcFzA7kPKBGgUUm 931 [2025-12-02 08:33:41 INF] CORS policy execution successful. [2025-12-02 08:33:41 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Create (Web)' [2025-12-02 08:33:41 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-12-02 08:33:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:33: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-12-02 08:33:41 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-12-02 08:33:41 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 08:33:41 INF] Executed action Web.Controllers.API.RentalContractController.Create (Web) in 19.9915ms [2025-12-02 08:33:41 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Create (Web)' [2025-12-02 08:33:41 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/rentalContract/create multipart/form-data;+boundary=----WebKitFormBoundaryqXcFzA7kPKBGgUUm 931 - 200 0 - 20.4744ms [2025-12-02 08:33:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - [2025-12-02 08:33:41 INF] CORS policy execution successful. [2025-12-02 08:33:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - - 204 - - 0.2554ms [2025-12-02 08:33:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - [2025-12-02 08:33:41 INF] CORS policy execution successful. [2025-12-02 08:33:41 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 08:33: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-12-02 08:33:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:33: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-12-02 08:33: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-12-02 08:33: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-12-02 08:33:41 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 28.6171ms [2025-12-02 08:33:41 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 08:33:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 29.1788ms [2025-12-02 08:34:47 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1797 - - [2025-12-02 08:34:47 INF] CORS policy execution successful. [2025-12-02 08:34:47 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1797 - - - 204 - - 0.2326ms [2025-12-02 08:34:47 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1797 - - [2025-12-02 08:34:47 INF] CORS policy execution successful. [2025-12-02 08:34:47 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:34:47 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-12-02 08:34:47 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:34: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-12-02 08:34:47 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-12-02 08:34:47 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-12-02 08:34:47 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 19.5375ms [2025-12-02 08:34:47 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:34:47 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1797 - - - 200 - application/json;+charset=utf-8 20.0012ms [2025-12-02 08:35:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-12-02 08:35:05 INF] CORS policy execution successful. [2025-12-02 08:35:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2079ms [2025-12-02 08:35:05 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundarys5WcfxIY2rs3yB7S 1146 [2025-12-02 08:35:05 INF] CORS policy execution successful. [2025-12-02 08:35:05 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 08:35:05 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-12-02 08:35:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:35:05 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-12-02 08:35:05 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-12-02 08:35:05 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-12-02 08:35:05 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 08:35:05 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 17.8044ms [2025-12-02 08:35:05 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 08:35:05 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundarys5WcfxIY2rs3yB7S 1146 - 200 0 - 18.4149ms [2025-12-02 08:35:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-12-02 08:35:06 INF] CORS policy execution successful. [2025-12-02 08:35:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 204 - - 0.2357ms [2025-12-02 08:35:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-12-02 08:35:06 INF] CORS policy execution successful. [2025-12-02 08:35:06 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:35:06 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-12-02 08:35:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:35: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-12-02 08:35:06 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-12-02 08:35:06 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 08:35:06 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 17.3479ms [2025-12-02 08:35:06 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:35:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 200 - application/json;+charset=utf-8 17.8972ms [2025-12-02 08:35:09 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1799 - - [2025-12-02 08:35:09 INF] CORS policy execution successful. [2025-12-02 08:35:09 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1799 - - - 204 - - 0.2254ms [2025-12-02 08:35:09 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1799 - - [2025-12-02 08:35:09 INF] CORS policy execution successful. [2025-12-02 08:35:09 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:35:09 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-12-02 08:35:09 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:35: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-12-02 08:35:09 INF] Executed DbCommand (0ms) [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-12-02 08:35:09 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-12-02 08:35:09 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 16.0631ms [2025-12-02 08:35:09 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:35:09 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1799 - - - 200 - application/json;+charset=utf-8 16.6088ms [2025-12-02 08:35:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1800 - - [2025-12-02 08:35:17 INF] CORS policy execution successful. [2025-12-02 08:35:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1800 - - - 204 - - 0.2228ms [2025-12-02 08:35:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1800 - - [2025-12-02 08:35:17 INF] CORS policy execution successful. [2025-12-02 08:35:17 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:35:17 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-12-02 08:35:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:35: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-12-02 08:35:17 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-12-02 08:35:17 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-12-02 08:35:17 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 20.2256ms [2025-12-02 08:35:17 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:35:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1800 - - - 200 - application/json;+charset=utf-8 20.9372ms [2025-12-02 08:35:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1802 - - [2025-12-02 08:35:22 INF] CORS policy execution successful. [2025-12-02 08:35:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1802 - - - 204 - - 0.2522ms [2025-12-02 08:35:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1802 - - [2025-12-02 08:35:22 INF] CORS policy execution successful. [2025-12-02 08:35:22 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:35:22 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-12-02 08:35:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:35: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-12-02 08:35:22 INF] Executed DbCommand (0ms) [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-12-02 08:35:22 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-12-02 08:35:22 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 21.5151ms [2025-12-02 08:35:22 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 08:35:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1802 - - - 200 - application/json;+charset=utf-8 22.2231ms [2025-12-02 08:35:35 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-12-02 08:35:35 INF] CORS policy execution successful. [2025-12-02 08:35:35 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2091ms [2025-12-02 08:35:35 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundarykwyx6Tf6TjodX0GZ 1154 [2025-12-02 08:35:35 INF] CORS policy execution successful. [2025-12-02 08:35:35 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 08:35: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-12-02 08:35:35 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:35: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-12-02 08:35: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-12-02 08:35:35 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-12-02 08:35:35 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 08:35:35 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 16.7045ms [2025-12-02 08:35:35 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 08:35:35 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundarykwyx6Tf6TjodX0GZ 1154 - 200 0 - 17.2327ms [2025-12-02 08:35:35 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-12-02 08:35:35 INF] CORS policy execution successful. [2025-12-02 08:35:35 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 204 - - 0.1867ms [2025-12-02 08:35:35 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-12-02 08:35:35 INF] CORS policy execution successful. [2025-12-02 08:35:35 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:35: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-12-02 08:35:35 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:35: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-12-02 08:35:35 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-12-02 08:35:35 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 08:35:35 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 15.8852ms [2025-12-02 08:35:35 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 08:35:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 200 - application/json;+charset=utf-8 16.3198ms [2025-12-02 08:36:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/update - - [2025-12-02 08:36:51 INF] CORS policy execution successful. [2025-12-02 08:36:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/update - - - 204 - - 0.2151ms [2025-12-02 08:36:51 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/update application/json 1818 [2025-12-02 08:36:51 INF] CORS policy execution successful. [2025-12-02 08:36:51 INF] Executing endpoint 'Web.Controllers.API.FlatController.Update (Web)' [2025-12-02 08:36:51 INF] Route matched with {action = "Update", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Update(Web.Models.API.Flats.FlatUpdateVM) on controller Web.Controllers.API.FlatController (Web). [2025-12-02 08:36:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:36: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-12-02 08:36: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-12-02 08:36:51 INF] Executed DbCommand (1ms) [Parameters=[@p26='?' (DbType = Int32), @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'] UPDATE "Flats" SET "AccountNumber" = @p0, "AccountNumber2" = @p1, "AccountNumber3" = @p2, "AdminFees" = @p3, "Apartment" = @p4, "Balance" = @p5, "Building" = @p6, "City" = @p7, "CountParkingSpots" = @p8, "CountRooms" = @p9, "CreateTime" = @p10, "Deposit" = @p11, "Description" = @p12, "Floor" = @p13, "HasBalcony" = @p14, "HasTerrace" = @p15, "InternalId" = @p16, "LandlordId" = @p17, "PetAllowed" = @p18, "Postcode" = @p19, "Price" = @p20, "Size" = @p21, "Street" = @p22, "Title" = @p23, "UpdateTime" = @p24, "YearBuilt" = @p25 WHERE "Id" = @p26; [2025-12-02 08:36:51 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 08:36:51 INF] Executed action Web.Controllers.API.FlatController.Update (Web) in 21.5478ms [2025-12-02 08:36:51 INF] Executed endpoint 'Web.Controllers.API.FlatController.Update (Web)' [2025-12-02 08:36:51 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/update application/json 1818 - 200 0 - 22.0770ms [2025-12-02 08:36:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 08:36:55 INF] CORS policy execution successful. [2025-12-02 08:36:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.1956ms [2025-12-02 08:36:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 08:36:55 INF] CORS policy execution successful. [2025-12-02 08:36:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 08:36:55 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-12-02 08:36:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 08:36:55 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-12-02 08:36:55 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-12-02 08:36:55 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-12-02 08:36:55 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-12-02 08:36:55 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 58.399ms [2025-12-02 08:36:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 08:36:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 58.8740ms [2025-12-02 09:58:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 09:58:48 INF] CORS policy execution successful. [2025-12-02 09:58:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2820ms [2025-12-02 09:58:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 09:58:48 INF] CORS policy execution successful. [2025-12-02 09:58:48 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 09:58:48 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-12-02 09:58:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 09:58:48 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-12-02 09:58:48 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-12-02 09:58:48 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-12-02 09:58:48 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 26.1889ms [2025-12-02 09:58:48 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 09:58:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 26.7913ms [2025-12-02 09:58:50 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 09:58:50 INF] CORS policy execution successful. [2025-12-02 09:58:50 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2056ms [2025-12-02 09:58:50 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 09:58:50 INF] CORS policy execution successful. [2025-12-02 09:58:50 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 09:58:50 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-12-02 09:58:50 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 09:58:50 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-12-02 09:58:50 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-12-02 09:58:50 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-12-02 09:58:50 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-12-02 09:58:50 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 54.4094ms [2025-12-02 09:58:50 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 09:58:50 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 54.9519ms [2025-12-02 09:58:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=236 - - [2025-12-02 09:58:54 INF] CORS policy execution successful. [2025-12-02 09:58:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=236 - - - 204 - - 0.2264ms [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=236 - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=236 - - - 204 - - 3.3137ms [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1428ms [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=236 - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=236 - - - 204 - - 0.1386ms [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=236 - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=236 - - - 204 - - 0.1868ms [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=236 - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=236 - - - 204 - - 0.2203ms [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=236 - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=236 - - - 204 - - 0.1778ms [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=236 - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=236 - - - 204 - - 0.1372ms [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=236 - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=236 - - - 204 - - 0.1103ms [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=236 - - [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1475ms [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=236 - - - 204 - - 0.2986ms [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1844ms [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1353ms [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=236 - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=236 - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=236 - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=236 - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=236 - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 30.6372ms [2025-12-02 09:58:55 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=236 - - - 200 - application/json;+charset=utf-8 31.1528ms [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=236 - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 09:58:55 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 52.6029ms [2025-12-02 09:58:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=236 - - - 200 - application/json;+charset=utf-8 53.1267ms [2025-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 43.0606ms [2025-12-02 09:58:55 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=236 - - - 200 - application/json;+charset=utf-8 46.4406ms [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=236 - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=236 - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 INF] Executed DbCommand (18ms) [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-12-02 09:58:55 INF] Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 119.9121ms [2025-12-02 09:58:55 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=236 - - - 200 - application/json;+charset=utf-8 120.3503ms [2025-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 60.5327ms [2025-12-02 09:58:55 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=236 - - - 200 - application/json;+charset=utf-8 61.0111ms [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 09:58:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 99.8761ms [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 115.2386ms [2025-12-02 09:58:55 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=236 - - - 200 - application/json;+charset=utf-8 117.3992ms [2025-12-02 09:58:55 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=236 - - - 200 - application/json;+charset=utf-8 105.1339ms [2025-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 09:58:55 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-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 167.717ms [2025-12-02 09:58:55 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=236 - - - 200 - application/json;+charset=utf-8 168.1197ms [2025-12-02 09:58:55 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 09:58:55 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 34.5171ms [2025-12-02 09:58:55 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 42.4035ms [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=236 - - [2025-12-02 09:58:55 INF] CORS policy execution successful. [2025-12-02 09:58:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 09:58:55 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 179.943ms [2025-12-02 09:58:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 181.6923ms [2025-12-02 09:58:55 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 62.4821ms [2025-12-02 09:58:55 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 62.8252ms [2025-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 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-12-02 09:58:55 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 19.7132ms [2025-12-02 09:58:55 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 20.1702ms [2025-12-02 09:58:55 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-12-02 09:58:55 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 09:58:55 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 18.8777ms [2025-12-02 09:58:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 09:58:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=236 - - - 200 - application/json;+charset=utf-8 19.4136ms [2025-12-02 09:59:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=295 - - [2025-12-02 09:59:04 INF] CORS policy execution successful. [2025-12-02 09:59:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=295 - - - 204 - - 0.2217ms [2025-12-02 09:59:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=295 - - [2025-12-02 09:59:04 INF] CORS policy execution successful. [2025-12-02 09:59:04 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 09:59:04 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-12-02 09:59:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 09:59:04 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-12-02 09:59:04 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-12-02 09:59:04 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-12-02 09:59:04 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 27.2681ms [2025-12-02 09:59:04 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 09:59:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=295 - - - 200 - application/json;+charset=utf-8 27.8443ms [2025-12-02 09:59:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa_Najmu_Szwedzka%2030%20lok%20115_05052025_signed.pdf&id=295 - - [2025-12-02 09:59:07 INF] CORS policy execution successful. [2025-12-02 09:59:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa_Najmu_Szwedzka%2030%20lok%20115_05052025_signed.pdf&id=295 - - - 204 - - 0.2363ms [2025-12-02 09:59:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa_Najmu_Szwedzka%2030%20lok%20115_05052025_signed.pdf&id=295 - - [2025-12-02 09:59:07 INF] CORS policy execution successful. [2025-12-02 09:59:07 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 09:59:07 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-12-02 09:59:07 INF] Executing FileContentResult, sending file with download name '' ... [2025-12-02 09:59:07 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 2.4954ms [2025-12-02 09:59:07 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 09:59:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa_Najmu_Szwedzka%2030%20lok%20115_05052025_signed.pdf&id=295 - - - 200 894161 application/pdf 3.0242ms [2025-12-02 10:25:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-12-02 10:25:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.1727ms [2025-12-02 10:25:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-12-02 10:25:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.1866ms [2025-12-02 10:25:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/wp-login.php - - [2025-12-02 10:25:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/wp-login.php - - - 404 0 - 0.1563ms [2025-12-02 10:25:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/wp-admin/ - - [2025-12-02 10:25:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/wp-admin/ - - - 404 0 - 0.1751ms [2025-12-02 10:25:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/administrator/ - - [2025-12-02 10:25:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/administrator/ - - - 404 0 - 0.2062ms [2025-12-02 10:25:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/user/login - - [2025-12-02 10:25:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/user/login - - - 404 0 - 0.1561ms [2025-12-02 10:25:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/admin - - [2025-12-02 10:25:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/admin - - - 404 0 - 0.1874ms [2025-12-02 10:25:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/login - - [2025-12-02 10:25:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/login - - - 404 0 - 0.1721ms [2025-12-02 10:25:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/register - - [2025-12-02 10:25:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/register - - - 404 0 - 0.1574ms [2025-12-02 10:25:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/admin - - [2025-12-02 10:25:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/admin - - - 404 0 - 0.1930ms [2025-12-02 10:25:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/login - - [2025-12-02 10:25:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/login - - - 404 0 - 0.1857ms [2025-12-02 10:41:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 10:41:37 INF] CORS policy execution successful. [2025-12-02 10:41:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1820ms [2025-12-02 10:41:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 10:41:37 INF] CORS policy execution successful. [2025-12-02 10:41:37 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 10:41: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-12-02 10:41:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:41: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-12-02 10:41:37 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-12-02 10:41:37 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-12-02 10:41:37 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 218.6549ms [2025-12-02 10:41:37 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 10:41:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 219.2247ms [2025-12-02 10:41:47 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 10:41:47 INF] CORS policy execution successful. [2025-12-02 10:41:47 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2282ms [2025-12-02 10:41:47 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 10:41:47 INF] CORS policy execution successful. [2025-12-02 10:41:47 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 10:41:47 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-12-02 10:41:47 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:41: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-12-02 10:41:47 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-12-02 10:41:47 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-12-02 10:41:47 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-12-02 10:41:47 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 55.6897ms [2025-12-02 10:41:47 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 10:41:47 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 56.2617ms [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=276 - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=276 - - - 204 - - 0.2595ms [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=276 - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=276 - - - 204 - - 0.1031ms [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1528ms [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=276 - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=276 - - - 204 - - 0.1335ms [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=276 - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=276 - - - 204 - - 0.1222ms [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=276 - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=276 - - - 204 - - 0.1108ms [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=276 - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=276 - - - 204 - - 0.0889ms [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=276 - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=276 - - [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=276 - - - 204 - - 0.1581ms [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=276 - - - 204 - - 0.4134ms [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=276 - - [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=276 - - - 204 - - 0.1662ms [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1524ms [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0967ms [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0525ms [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=276 - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10: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-12-02 10:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=276 - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 10:41: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-12-02 10:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=276 - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 10: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-12-02 10:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10: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-12-02 10:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=276 - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:41: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-12-02 10:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10: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-12-02 10:41:54 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 10:41:54 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 22.871ms [2025-12-02 10:41:54 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=276 - - - 200 - application/json;+charset=utf-8 23.3449ms [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=276 - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 10: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-12-02 10:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:41: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-12-02 10:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10: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-12-02 10:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=276 - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 10: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-12-02 10:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:41:54 INF] Executed DbCommand (13ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-12-02 10: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-12-02 10:41:54 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 38.09ms [2025-12-02 10:41:54 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=276 - - - 200 - application/json;+charset=utf-8 38.4831ms [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=276 - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 10: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-12-02 10: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-12-02 10:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:41:54 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-12-02 10:41:54 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-12-02 10:41:54 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-12-02 10: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-12-02 10:41:54 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 83.7309ms [2025-12-02 10:41:54 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=276 - - - 200 - application/json;+charset=utf-8 84.0948ms [2025-12-02 10: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-12-02 10:41:54 INF] Executed DbCommand (4ms) [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-12-02 10: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-12-02 10:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=276 - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 10: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-12-02 10:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:41:54 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 10:41:54 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-12-02 10: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-12-02 10:41:54 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-12-02 10:41:54 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 91.1582ms [2025-12-02 10:41:54 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=276 - - - 200 - application/json;+charset=utf-8 93.1434ms [2025-12-02 10:41:54 INF] Executed DbCommand (6ms) [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-12-02 10:41:54 INF] Executed DbCommand (6ms) [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-12-02 10: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-12-02 10:41:54 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 53.8545ms [2025-12-02 10:41:54 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=276 - - - 200 - application/json;+charset=utf-8 57.5408ms [2025-12-02 10: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-12-02 10:41:54 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 83.902ms [2025-12-02 10:41:54 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=276 - - - 200 - application/json;+charset=utf-8 84.3115ms [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 10: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-12-02 10:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 10: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-12-02 10:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10: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-12-02 10:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 10: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-12-02 10:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:41:54 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 100.593ms [2025-12-02 10:41:54 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 103.3481ms [2025-12-02 10: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-12-02 10:41:54 INF] Executed DbCommand (7ms) [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-12-02 10: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-12-02 10:41:54 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 60.6912ms [2025-12-02 10:41:54 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 10: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-12-02 10:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=276 - - - 200 - application/json;+charset=utf-8 61.6970ms [2025-12-02 10: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-12-02 10:41:54 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-12-02 10: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-12-02 10:41:54 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 42.2253ms [2025-12-02 10:41:54 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 42.8461ms [2025-12-02 10: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-12-02 10:41:54 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-12-02 10:41: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", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-12-02 10: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-12-02 10:41:54 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 57.5571ms [2025-12-02 10:41:54 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 59.4701ms [2025-12-02 10: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-12-02 10:41:54 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 64.7877ms [2025-12-02 10:41:54 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 10: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-12-02 10:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 66.1940ms [2025-12-02 10:41:54 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 155.9236ms [2025-12-02 10:41:54 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=276 - - - 200 - application/json;+charset=utf-8 161.9252ms [2025-12-02 10:41:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=276 - - [2025-12-02 10:41:54 INF] CORS policy execution successful. [2025-12-02 10:41:54 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10: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-12-02 10:41:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10: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-12-02 10:41:54 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-12-02 10:41:54 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 10:41:54 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 13.9768ms [2025-12-02 10:41:54 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:41:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=276 - - - 200 - application/json;+charset=utf-8 14.4428ms [2025-12-02 10:42:16 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/create - - [2025-12-02 10:42:16 INF] CORS policy execution successful. [2025-12-02 10:42:16 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/create - - - 204 - - 0.2039ms [2025-12-02 10:42:16 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/inspection/create multipart/form-data;+boundary=----WebKitFormBoundarywtVR6vGwTwXY2P7G 862305 [2025-12-02 10:42:16 INF] CORS policy execution successful. [2025-12-02 10:42:16 INF] Executing endpoint 'Web.Controllers.API.InspectionController.Create (Web)' [2025-12-02 10:42:16 INF] Route matched with {action = "Create", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Create(Web.Models.API.Inspection.InspectionCreateVM) on controller Web.Controllers.API.InspectionController (Web). [2025-12-02 10:42:16 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:16 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-12-02 10:42:17 INF] Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int32), @p2='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] INSERT INTO "Inspections" ("CreateTime", "EmployeeId", "FlatId") VALUES (@p0, @p1, @p2) RETURNING "Id"; [2025-12-02 10:42:17 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 10:42:17 INF] Executed action Web.Controllers.API.InspectionController.Create (Web) in 226.1628ms [2025-12-02 10:42:17 INF] Executed endpoint 'Web.Controllers.API.InspectionController.Create (Web)' [2025-12-02 10:42:17 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/inspection/create multipart/form-data;+boundary=----WebKitFormBoundarywtVR6vGwTwXY2P7G 862305 - 200 0 - 230.8808ms [2025-12-02 10:42:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=276 - - [2025-12-02 10:42:17 INF] CORS policy execution successful. [2025-12-02 10:42:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=276 - - - 204 - - 0.2380ms [2025-12-02 10:42:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=276 - - [2025-12-02 10:42:17 INF] CORS policy execution successful. [2025-12-02 10:42:17 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:42: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-12-02 10:42:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42: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-12-02 10:42:17 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 10:42: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-12-02 10:42:17 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 15.5925ms [2025-12-02 10:42:17 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:42:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=276 - - - 200 - application/json;+charset=utf-8 16.1803ms [2025-12-02 10:42:21 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 10:42:21 INF] CORS policy execution successful. [2025-12-02 10:42:21 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2295ms [2025-12-02 10:42:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 10:42:21 INF] CORS policy execution successful. [2025-12-02 10:42:21 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 10:42: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-12-02 10:42:21 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:21 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-12-02 10:42:21 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-12-02 10:42:21 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-12-02 10:42:21 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-12-02 10:42:21 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 55.4718ms [2025-12-02 10:42:21 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 10:42:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 56.1005ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=358 - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=358 - - - 204 - - 0.2207ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=358 - - [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=358 - - - 204 - - 0.5826ms [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.4060ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=358 - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=358 - - - 204 - - 0.1284ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=358 - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=358 - - - 204 - - 0.3883ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=358 - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=358 - - - 204 - - 0.2969ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=358 - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=358 - - - 204 - - 0.1010ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=358 - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=358 - - - 204 - - 0.0790ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=358 - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=358 - - - 204 - - 0.0806ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=358 - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=358 - - - 204 - - 0.0934ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1546ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0918ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1217ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=358 - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=358 - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=358 - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=358 - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=358 - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:26 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-12-02 10:42:26 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-12-02 10:42:26 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-12-02 10:42:26 INF] Executed DbCommand (11ms) [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-12-02 10:42:26 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-12-02 10:42:26 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-12-02 10:42:26 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 50.6314ms [2025-12-02 10:42:26 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=358 - - - 200 - application/json;+charset=utf-8 51.2620ms [2025-12-02 10:42:26 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 45.9483ms [2025-12-02 10:42:26 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=358 - - - 200 - application/json;+charset=utf-8 46.4714ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=358 - - [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=358 - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Executed DbCommand (4ms) [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-12-02 10:42:26 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 87.7416ms [2025-12-02 10:42:26 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=358 - - - 200 - application/json;+charset=utf-8 89.1086ms [2025-12-02 10:42:26 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 73.804ms [2025-12-02 10:42:26 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=358 - - - 200 - application/json;+charset=utf-8 74.3466ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=358 - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:26 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-12-02 10:42:26 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-12-02 10:42:26 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-12-02 10:42:26 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-12-02 10:42:26 INF] Executed DbCommand (7ms) [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-12-02 10:42:26 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-12-02 10:42:26 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 53.8202ms [2025-12-02 10:42:26 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=358 - - - 200 - application/json;+charset=utf-8 54.2930ms [2025-12-02 10:42: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-12-02 10:42:26 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-12-02 10:42:26 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 59.0052ms [2025-12-02 10:42:26 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 10:42:26 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", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=358 - - - 200 - application/json;+charset=utf-8 60.6642ms [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 123.3381ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42: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-12-02 10:42:26 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 129.2169ms [2025-12-02 10:42:26 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 31.2248ms [2025-12-02 10:42:26 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 31.7448ms [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:26 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-12-02 10:42:26 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-12-02 10:42:26 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-12-02 10:42:26 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 69.2998ms [2025-12-02 10:42:26 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", 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-12-02 10:42:26 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-12-02 10:42:26 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-12-02 10:42:26 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 31.2238ms [2025-12-02 10:42:26 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 32.0824ms [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 40.255ms [2025-12-02 10:42:26 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 10:42:26 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=358 - - - 200 - application/json;+charset=utf-8 78.9394ms [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 41.6821ms [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 185.1861ms [2025-12-02 10:42:26 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=358 - - - 200 - application/json;+charset=utf-8 185.6173ms [2025-12-02 10:42:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=358 - - [2025-12-02 10:42:26 INF] CORS policy execution successful. [2025-12-02 10:42:26 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:42:26 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-12-02 10:42:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42: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-12-02 10:42:26 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-12-02 10:42:26 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 10:42:26 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 13.886ms [2025-12-02 10:42:26 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:42:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=358 - - - 200 - application/json;+charset=utf-8 14.3798ms [2025-12-02 10:42:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/create - - [2025-12-02 10:42:43 INF] CORS policy execution successful. [2025-12-02 10:42:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/create - - - 204 - - 0.1796ms [2025-12-02 10:42:43 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/inspection/create multipart/form-data;+boundary=----WebKitFormBoundaryyTRB1oMEAu39vWBS 664898 [2025-12-02 10:42:43 INF] CORS policy execution successful. [2025-12-02 10:42:43 INF] Executing endpoint 'Web.Controllers.API.InspectionController.Create (Web)' [2025-12-02 10:42:43 INF] Route matched with {action = "Create", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Create(Web.Models.API.Inspection.InspectionCreateVM) on controller Web.Controllers.API.InspectionController (Web). [2025-12-02 10:42:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42: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-12-02 10:42:43 INF] Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int32), @p2='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] INSERT INTO "Inspections" ("CreateTime", "EmployeeId", "FlatId") VALUES (@p0, @p1, @p2) RETURNING "Id"; [2025-12-02 10:42:43 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 10:42:43 INF] Executed action Web.Controllers.API.InspectionController.Create (Web) in 141.796ms [2025-12-02 10:42:43 INF] Executed endpoint 'Web.Controllers.API.InspectionController.Create (Web)' [2025-12-02 10:42:43 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/inspection/create multipart/form-data;+boundary=----WebKitFormBoundaryyTRB1oMEAu39vWBS 664898 - 200 0 - 147.0962ms [2025-12-02 10:42:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=358 - - [2025-12-02 10:42:43 INF] CORS policy execution successful. [2025-12-02 10:42:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=358 - - - 204 - - 0.2015ms [2025-12-02 10:42:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=358 - - [2025-12-02 10:42:43 INF] CORS policy execution successful. [2025-12-02 10:42:43 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:42:43 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-12-02 10:42:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:43 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-12-02 10:42:43 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 10:42:43 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-12-02 10:42:43 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 15.9351ms [2025-12-02 10:42:43 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:42:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=358 - - - 200 - application/json;+charset=utf-8 16.7400ms [2025-12-02 10:42:47 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 10:42:47 INF] CORS policy execution successful. [2025-12-02 10:42:47 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2045ms [2025-12-02 10:42:47 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 10:42:47 INF] CORS policy execution successful. [2025-12-02 10:42:47 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 10:42:47 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-12-02 10:42:47 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42: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-12-02 10:42:47 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-12-02 10:42:47 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-12-02 10:42:47 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-12-02 10:42:47 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 60.3268ms [2025-12-02 10:42:47 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 10:42:47 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 60.8531ms [2025-12-02 10:42:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=359 - - [2025-12-02 10:42:54 INF] CORS policy execution successful. [2025-12-02 10:42:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=359 - - - 204 - - 0.2264ms [2025-12-02 10:42:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=359 - - [2025-12-02 10:42:54 INF] CORS policy execution successful. [2025-12-02 10:42:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=359 - - - 204 - - 0.0809ms [2025-12-02 10:42:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 10:42:54 INF] CORS policy execution successful. [2025-12-02 10:42:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1116ms [2025-12-02 10:42:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=359 - - [2025-12-02 10:42:54 INF] CORS policy execution successful. [2025-12-02 10:42:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=359 - - - 204 - - 0.1554ms [2025-12-02 10:42:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=359 - - [2025-12-02 10:42:54 INF] CORS policy execution successful. [2025-12-02 10:42:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=359 - - - 204 - - 0.1350ms [2025-12-02 10:42:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=359 - - [2025-12-02 10:42:54 INF] CORS policy execution successful. [2025-12-02 10:42:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=359 - - - 204 - - 0.1311ms [2025-12-02 10:42:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=359 - - [2025-12-02 10:42:54 INF] CORS policy execution successful. [2025-12-02 10:42:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=359 - - - 204 - - 0.1110ms [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=359 - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=359 - - - 204 - - 0.1915ms [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=359 - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=359 - - - 204 - - 0.0685ms [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=359 - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=359 - - - 204 - - 0.1033ms [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0750ms [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0593ms [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0792ms [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=359 - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=359 - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 57.6212ms [2025-12-02 10:42:55 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=359 - - - 200 - application/json;+charset=utf-8 58.0042ms [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=359 - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 13.429ms [2025-12-02 10:42:55 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=359 - - - 200 - application/json;+charset=utf-8 13.8358ms [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=359 - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Executed DbCommand (0ms) [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-12-02 10:42:55 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-12-02 10:42:55 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 14.0644ms [2025-12-02 10:42:55 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=359 - - - 200 - application/json;+charset=utf-8 14.4955ms [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=359 - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 14.3261ms [2025-12-02 10:42:55 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=359 - - - 200 - application/json;+charset=utf-8 14.7494ms [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=359 - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 16.7439ms [2025-12-02 10:42:55 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=359 - - - 200 - application/json;+charset=utf-8 17.1957ms [2025-12-02 10:42:55 INF] Executed DbCommand (119ms) [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-12-02 10:42:55 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 10:42:55 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 134.3428ms [2025-12-02 10:42:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=359 - - - 200 - application/json;+charset=utf-8 134.8810ms [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=359 - - [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 10:42:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=359 - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Executed DbCommand (7ms) [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-12-02 10:42:55 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-12-02 10:42:55 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 22.4038ms [2025-12-02 10:42:55 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=359 - - - 200 - application/json;+charset=utf-8 28.7470ms [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=359 - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:55 INF] CORS policy execution successful. [2025-12-02 10:42:55 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:42:55 INF] Executed DbCommand (12ms) [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-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 10:42:55 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 52.6285ms [2025-12-02 10:42:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=359 - - - 200 - application/json;+charset=utf-8 53.3465ms [2025-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 60.141ms [2025-12-02 10:42:55 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 10:42:55 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 95.6319ms [2025-12-02 10:42:55 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 95.9244ms [2025-12-02 10:42:55 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-12-02 10:42:55 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-12-02 10:42:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 64.0850ms [2025-12-02 10:42:55 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 61.9447ms [2025-12-02 10:42:55 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 65.0435ms [2025-12-02 10:42:55 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 86.6373ms [2025-12-02 10:42:55 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=359 - - - 200 - application/json;+charset=utf-8 87.1490ms [2025-12-02 10:42:55 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-12-02 10:42:55 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 101.3514ms [2025-12-02 10:42:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 10:42:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 101.7606ms [2025-12-02 10:43:09 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/create - - [2025-12-02 10:43:09 INF] CORS policy execution successful. [2025-12-02 10:43:09 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/create - - - 204 - - 0.2431ms [2025-12-02 10:43:09 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/inspection/create multipart/form-data;+boundary=----WebKitFormBoundary7nQL18LDoWei2qt7 536420 [2025-12-02 10:43:09 INF] CORS policy execution successful. [2025-12-02 10:43:09 INF] Executing endpoint 'Web.Controllers.API.InspectionController.Create (Web)' [2025-12-02 10:43:09 INF] Route matched with {action = "Create", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Create(Web.Models.API.Inspection.InspectionCreateVM) on controller Web.Controllers.API.InspectionController (Web). [2025-12-02 10:43:09 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43: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-12-02 10:43:09 INF] Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int32), @p2='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] INSERT INTO "Inspections" ("CreateTime", "EmployeeId", "FlatId") VALUES (@p0, @p1, @p2) RETURNING "Id"; [2025-12-02 10:43:09 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 10:43:09 INF] Executed action Web.Controllers.API.InspectionController.Create (Web) in 68.7576ms [2025-12-02 10:43:09 INF] Executed endpoint 'Web.Controllers.API.InspectionController.Create (Web)' [2025-12-02 10:43:09 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/inspection/create multipart/form-data;+boundary=----WebKitFormBoundary7nQL18LDoWei2qt7 536420 - 200 0 - 71.7575ms [2025-12-02 10:43:09 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=359 - - [2025-12-02 10:43:09 INF] CORS policy execution successful. [2025-12-02 10:43:09 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=359 - - - 204 - - 0.1570ms [2025-12-02 10:43:09 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=359 - - [2025-12-02 10:43:09 INF] CORS policy execution successful. [2025-12-02 10:43:09 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:43:09 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-12-02 10:43:09 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43: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-12-02 10:43:09 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 10:43:09 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-12-02 10:43:09 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 13.491ms [2025-12-02 10:43:09 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:43:09 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=359 - - - 200 - application/json;+charset=utf-8 13.9485ms [2025-12-02 10:43:12 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 10:43:12 INF] CORS policy execution successful. [2025-12-02 10:43:12 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.1884ms [2025-12-02 10:43:12 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 10:43:12 INF] CORS policy execution successful. [2025-12-02 10:43:12 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 10:43:12 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-12-02 10:43:12 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:12 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-12-02 10:43:12 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-12-02 10:43:13 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-12-02 10:43:13 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-12-02 10:43:13 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 58.1475ms [2025-12-02 10:43:13 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 10:43:13 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 58.7093ms [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=279 - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=279 - - - 204 - - 0.2072ms [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=279 - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=279 - - - 204 - - 0.2124ms [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=279 - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1232ms [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=279 - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=279 - - - 204 - - 0.0653ms [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=279 - - - 204 - - 0.2851ms [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=279 - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=279 - - - 204 - - 0.1004ms [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=279 - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=279 - - - 204 - - 0.1199ms [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=279 - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=279 - - - 204 - - 0.0913ms [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=279 - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=279 - - - 204 - - 0.0941ms [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=279 - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=279 - - - 204 - - 0.0845ms [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0566ms [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0771ms [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1419ms [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=279 - - [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=279 - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:43:17 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 10:43: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-12-02 10:43: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-12-02 10:43:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=279 - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:43: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-12-02 10:43:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=279 - - [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=279 - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 10:43:17 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 10:43: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-12-02 10:43: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-12-02 10:43:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 10:43: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-12-02 10:43:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:17 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-12-02 10:43: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-12-02 10:43: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-12-02 10:43: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-12-02 10:43:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 10:43: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-12-02 10:43:17 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 46.1386ms [2025-12-02 10:43:17 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=279 - - - 200 - application/json;+charset=utf-8 46.4372ms [2025-12-02 10:43:17 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-12-02 10:43: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-12-02 10:43:17 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 47.8079ms [2025-12-02 10:43:17 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=279 - - - 200 - application/json;+charset=utf-8 48.1002ms [2025-12-02 10:43:17 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-12-02 10:43: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-12-02 10:43:17 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 48.3999ms [2025-12-02 10:43:17 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=279 - - - 200 - application/json;+charset=utf-8 48.7328ms [2025-12-02 10:43:17 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-12-02 10:43:17 INF] Executed DbCommand (4ms) [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-12-02 10:43:17 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-12-02 10:43:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=279 - - [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=279 - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 10:43:17 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 10:43: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-12-02 10:43:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43: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-12-02 10:43:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:17 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 10:43:17 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 65.189ms [2025-12-02 10:43:17 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=279 - - - 200 - application/json;+charset=utf-8 65.7582ms [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=279 - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 10:43: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-12-02 10:43:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 10:43: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-12-02 10:43:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:17 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-12-02 10:43: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-12-02 10:43: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", 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-12-02 10:43:17 INF] Executed DbCommand (9ms) [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-12-02 10:43:17 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-12-02 10:43:17 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-12-02 10:43:17 INF] Executed DbCommand (10ms) [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-12-02 10:43:17 INF] Executed DbCommand (15ms) [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-12-02 10:43: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-12-02 10:43:17 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 77.3241ms [2025-12-02 10:43:17 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=279 - - - 200 - application/json;+charset=utf-8 79.1520ms [2025-12-02 10:43: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-12-02 10:43:17 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-12-02 10:43: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-12-02 10:43:17 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 77.1709ms [2025-12-02 10:43:17 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=279 - - - 200 - application/json;+charset=utf-8 77.9976ms [2025-12-02 10:43: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-12-02 10:43:17 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 79.674ms [2025-12-02 10:43:17 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 80.1109ms [2025-12-02 10:43: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-12-02 10:43: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-12-02 10:43:17 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 94.3935ms [2025-12-02 10:43:17 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=279 - - - 200 - application/json;+charset=utf-8 94.8992ms [2025-12-02 10:43: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-12-02 10:43:17 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 162.9937ms [2025-12-02 10:43:17 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=279 - - - 200 - application/json;+charset=utf-8 163.4300ms [2025-12-02 10:43:17 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 161.4076ms [2025-12-02 10:43:17 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 161.7473ms [2025-12-02 10:43:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 10:43: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-12-02 10:43:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43: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-12-02 10:43:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=279 - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:43: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-12-02 10:43:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43: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-12-02 10:43:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 10:43:17 INF] CORS policy execution successful. [2025-12-02 10:43:17 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 10:43: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-12-02 10:43:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43: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-12-02 10:43:17 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-12-02 10:43: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-12-02 10:43:17 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 50.9783ms [2025-12-02 10:43:17 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 51.4994ms [2025-12-02 10:43:17 INF] Executed DbCommand (22ms) [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-12-02 10:43:17 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 10:43:17 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 37.0767ms [2025-12-02 10:43:17 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=279 - - - 200 - application/json;+charset=utf-8 37.5840ms [2025-12-02 10:43: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", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-12-02 10:43: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-12-02 10:43:17 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 22.1013ms [2025-12-02 10:43:17 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 10:43:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 22.6654ms [2025-12-02 10:43:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/create - - [2025-12-02 10:43:33 INF] CORS policy execution successful. [2025-12-02 10:43:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/create - - - 204 - - 0.1933ms [2025-12-02 10:43:33 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/inspection/create multipart/form-data;+boundary=----WebKitFormBoundaryXvDBTqcxn0kDz0w5 2503617 [2025-12-02 10:43:33 INF] CORS policy execution successful. [2025-12-02 10:43:33 INF] Executing endpoint 'Web.Controllers.API.InspectionController.Create (Web)' [2025-12-02 10:43:33 INF] Route matched with {action = "Create", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Create(Web.Models.API.Inspection.InspectionCreateVM) on controller Web.Controllers.API.InspectionController (Web). [2025-12-02 10:43:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:33 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-12-02 10:43:34 INF] Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int32), @p2='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] INSERT INTO "Inspections" ("CreateTime", "EmployeeId", "FlatId") VALUES (@p0, @p1, @p2) RETURNING "Id"; [2025-12-02 10:43:34 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 10:43:34 INF] Executed action Web.Controllers.API.InspectionController.Create (Web) in 499.8708ms [2025-12-02 10:43:34 INF] Executed endpoint 'Web.Controllers.API.InspectionController.Create (Web)' [2025-12-02 10:43:34 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/inspection/create multipart/form-data;+boundary=----WebKitFormBoundaryXvDBTqcxn0kDz0w5 2503617 - 200 0 - 512.3091ms [2025-12-02 10:43:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=279 - - [2025-12-02 10:43:34 INF] CORS policy execution successful. [2025-12-02 10:43:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=279 - - - 204 - - 0.2674ms [2025-12-02 10:43:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=279 - - [2025-12-02 10:43:34 INF] CORS policy execution successful. [2025-12-02 10:43:34 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:43:34 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-12-02 10:43:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:34 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-12-02 10:43:34 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 10:43:34 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-12-02 10:43:34 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 15.0285ms [2025-12-02 10:43:34 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:43:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=279 - - - 200 - application/json;+charset=utf-8 15.6253ms [2025-12-02 10:43:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 10:43:38 INF] CORS policy execution successful. [2025-12-02 10:43:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 1.8072ms [2025-12-02 10:43:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 10:43:38 INF] CORS policy execution successful. [2025-12-02 10:43:38 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 10:43:38 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-12-02 10:43:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43: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-12-02 10:43:38 INF] Executed DbCommand (3ms) [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-12-02 10:43:38 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-12-02 10:43:38 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-12-02 10:43:38 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 53.9252ms [2025-12-02 10:43:38 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 10:43:38 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 54.4712ms [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=275 - - - 204 - - 0.1952ms [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=275 - - - 204 - - 0.1713ms [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1768ms [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=275 - - - 204 - - 0.1884ms [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:43: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-12-02 10:43:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43: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-12-02 10:43:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 10:43:42 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-12-02 10:43:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43: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-12-02 10:43:42 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-12-02 10:43:42 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-12-02 10:43:42 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 53.3892ms [2025-12-02 10:43:42 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=275 - - - 200 - application/json;+charset=utf-8 53.8362ms [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=275 - - - 204 - - 0.0969ms [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=275 - - - 204 - - 0.0704ms [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 10:43:42 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-12-02 10:43:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43: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-12-02 10:43:42 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-12-02 10:43:42 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-12-02 10:43:42 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 12.8011ms [2025-12-02 10:43:42 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=275 - - - 200 - application/json;+charset=utf-8 13.1365ms [2025-12-02 10:43:42 INF] Executed DbCommand (68ms) [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-12-02 10:43:42 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 10:43:42 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 80.5126ms [2025-12-02 10:43:42 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=275 - - - 200 - application/json;+charset=utf-8 81.0285ms [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 10:43:42 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-12-02 10:43:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43: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-12-02 10:43:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=275 - - - 204 - - 0.1709ms [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=275 - - - 204 - - 0.1090ms [2025-12-02 10:43:42 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-12-02 10:43:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=275 - - - 204 - - 0.2267ms [2025-12-02 10:43:42 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-12-02 10:43:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1623ms [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0668ms [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0728ms [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 10:43:42 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-12-02 10:43:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:43:42 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-12-02 10:43:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:42 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 47.2276ms [2025-12-02 10:43:42 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 47.8849ms [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:43: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-12-02 10:43:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 10:43:42 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-12-02 10:43:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:42 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 10:43: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-12-02 10:43:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:42 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-12-02 10:43:42 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 10:43:42 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-12-02 10:43:42 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 24.5274ms [2025-12-02 10:43:42 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=275 - - - 200 - application/json;+charset=utf-8 24.9120ms [2025-12-02 10:43:42 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-12-02 10:43:42 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-12-02 10:43: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-12-02 10:43:42 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 37.6945ms [2025-12-02 10:43:42 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=275 - - - 200 - application/json;+charset=utf-8 38.1215ms [2025-12-02 10:43:42 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-12-02 10:43:42 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-12-02 10:43:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=275 - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 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-12-02 10:43:42 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 10:43: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-12-02 10:43:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:42 INF] Executed DbCommand (6ms) [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-12-02 10:43:42 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-12-02 10:43:42 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-12-02 10:43:42 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 10:43:42 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 46.6473ms [2025-12-02 10:43:42 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=275 - - - 200 - application/json;+charset=utf-8 47.1493ms [2025-12-02 10:43:42 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-12-02 10:43:42 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 45.2981ms [2025-12-02 10:43:42 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=275 - - - 200 - application/json;+charset=utf-8 45.6483ms [2025-12-02 10:43: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-12-02 10:43: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-12-02 10:43: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-12-02 10:43:42 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 19.6892ms [2025-12-02 10:43:42 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=275 - - - 200 - application/json;+charset=utf-8 20.2415ms [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 10:43: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-12-02 10:43:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43: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-12-02 10:43:42 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 50.0726ms [2025-12-02 10:43:42 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=275 - - - 200 - application/json;+charset=utf-8 50.6746ms [2025-12-02 10:43: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-12-02 10:43:42 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-12-02 10:43: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-12-02 10:43:42 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 13.1616ms [2025-12-02 10:43:42 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 13.5432ms [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 10:43:42 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-12-02 10:43:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 10:43:42 INF] CORS policy execution successful. [2025-12-02 10:43:42 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 10:43:42 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-12-02 10:43:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:43: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-12-02 10:43: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-12-02 10:43:42 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-12-02 10:43:42 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-12-02 10:43: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-12-02 10:43:42 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-12-02 10:43:42 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 27.5867ms [2025-12-02 10:43:42 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 28.1630ms [2025-12-02 10:43:42 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 26.5162ms [2025-12-02 10:43:42 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 10:43:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 26.7943ms [2025-12-02 10:44:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFilesZip?entityName=inspections&id=112 - - [2025-12-02 10:44:04 INF] CORS policy execution successful. [2025-12-02 10:44:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFilesZip?entityName=inspections&id=112 - - - 204 - - 0.2991ms [2025-12-02 10:44:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFilesZip?entityName=inspections&id=112 - - [2025-12-02 10:44:04 INF] CORS policy execution successful. [2025-12-02 10:44:04 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFilesZip (Web)' [2025-12-02 10:44:04 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-12-02 10:44:04 INF] Executing FileStreamResult, sending file with download name 'inspections112.zip' ... [2025-12-02 10:44:04 INF] Executed action Web.Controllers.API.FileController.GetFilesZip (Web) in 179.6703ms [2025-12-02 10:44:04 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFilesZip (Web)' [2025-12-02 10:44:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFilesZip?entityName=inspections&id=112 - - - 200 3252165 application/zip 180.2257ms [2025-12-02 10:45:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/create - - [2025-12-02 10:45:59 INF] CORS policy execution successful. [2025-12-02 10:45:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/create - - - 204 - - 0.1811ms [2025-12-02 10:45:59 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/inspection/create multipart/form-data;+boundary=----WebKitFormBoundaryD3wCSdqT0BjNIaZn 608689 [2025-12-02 10:45:59 INF] CORS policy execution successful. [2025-12-02 10:45:59 INF] Executing endpoint 'Web.Controllers.API.InspectionController.Create (Web)' [2025-12-02 10:45:59 INF] Route matched with {action = "Create", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Create(Web.Models.API.Inspection.InspectionCreateVM) on controller Web.Controllers.API.InspectionController (Web). [2025-12-02 10:45:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:45:59 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-12-02 10:45:59 INF] Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int32), @p2='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] INSERT INTO "Inspections" ("CreateTime", "EmployeeId", "FlatId") VALUES (@p0, @p1, @p2) RETURNING "Id"; [2025-12-02 10:45:59 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 10:45:59 INF] Executed action Web.Controllers.API.InspectionController.Create (Web) in 99.8288ms [2025-12-02 10:45:59 INF] Executed endpoint 'Web.Controllers.API.InspectionController.Create (Web)' [2025-12-02 10:45:59 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/inspection/create multipart/form-data;+boundary=----WebKitFormBoundaryD3wCSdqT0BjNIaZn 608689 - 200 0 - 103.8648ms [2025-12-02 10:45:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=275 - - [2025-12-02 10:45:59 INF] CORS policy execution successful. [2025-12-02 10:45:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=275 - - - 204 - - 0.2417ms [2025-12-02 10:45:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=275 - - [2025-12-02 10:45:59 INF] CORS policy execution successful. [2025-12-02 10:45:59 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:45:59 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-12-02 10:45:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 10:45:59 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-12-02 10:45:59 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 10:45:59 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-12-02 10:45:59 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 17.0015ms [2025-12-02 10:45:59 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 10:45:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=275 - - - 200 - application/json;+charset=utf-8 17.5800ms [2025-12-02 11:05:50 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-12-02 11:05:50 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 0.1912ms [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.2157ms [2025-12-02 12:12:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2613ms [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0828ms [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - - 204 - - 0.1311ms [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - - 204 - - 0.0900ms [2025-12-02 12:12:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - - 204 - - 0.2537ms [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - - 204 - - 0.2690ms [2025-12-02 12:12:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - - 204 - - 0.3181ms [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 204 - - 0.1266ms [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 204 - - 0.2086ms [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - - 204 - - 0.0545ms [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - - 204 - - 0.0740ms [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 12:12:18 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 12:12:18 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-12-02 12:12:18 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-12-02 12:12:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:12:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:12:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 1.4663ms [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 12:12:18 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-12-02 12:12:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 12:12:18 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-12-02 12:12:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 12:12:18 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-12-02 12:12:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:12:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - [2025-12-02 12:12:18 INF] CORS policy execution successful. [2025-12-02 12:12:18 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 12:12:18 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-12-02 12:12:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:12:18 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-12-02 12:12:19 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", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-12-02 12:12:19 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-12-02 12:12:19 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 49.5669ms [2025-12-02 12:12:19 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 12:12:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 54.8690ms [2025-12-02 12:12:19 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-12-02 12:12:19 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-12-02 12:12:19 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-12-02 12:12:19 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 46.6072ms [2025-12-02 12:12:19 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 12:12:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 47.1337ms [2025-12-02 12:12:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-12-02 12:12:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - [2025-12-02 12:12:19 INF] CORS policy execution successful. [2025-12-02 12:12:19 INF] CORS policy execution successful. [2025-12-02 12:12:19 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:12:19 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:12:19 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-12-02 12:12:19 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-12-02 12:12:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:12:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:12: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-12-02 12:12:19 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-12-02 12:12:19 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-12-02 12:12:19 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-12-02 12:12:19 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 90.6679ms [2025-12-02 12:12:19 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 12:12:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 91.0128ms [2025-12-02 12:12:19 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-12-02 12:12:19 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-12-02 12:12:19 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-12-02 12:12:19 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-12-02 12:12:19 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-12-02 12:12:19 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-12-02 12:12:19 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 87.4392ms [2025-12-02 12:12:19 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 12:12:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 87.8101ms [2025-12-02 12:12:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - [2025-12-02 12:12:19 INF] CORS policy execution successful. [2025-12-02 12:12:19 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 12:12:19 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-12-02 12:12:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:12:19 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 12:12:19 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-12-02 12:12:19 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 92.9013ms [2025-12-02 12:12:19 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 12:12:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 94.5539ms [2025-12-02 12:12:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - [2025-12-02 12:12:19 INF] CORS policy execution successful. [2025-12-02 12:12:19 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 12:12:19 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-12-02 12:12:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:12:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - [2025-12-02 12:12:19 INF] CORS policy execution successful. [2025-12-02 12:12:19 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:12:19 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-12-02 12:12:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:12:19 INF] Executed DbCommand (16ms) [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-12-02 12:12:19 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-12-02 12:12:19 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 118.2019ms [2025-12-02 12:12:19 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 12:12:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 119.2066ms [2025-12-02 12:12:19 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-12-02 12:12:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 12:12:19 INF] CORS policy execution successful. [2025-12-02 12:12:19 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 12:12:19 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-12-02 12:12:19 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-12-02 12:12:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:12:19 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-12-02 12:12:19 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-12-02 12:12:19 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-12-02 12:12:19 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-12-02 12:12:19 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 47.285ms [2025-12-02 12:12:19 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 12:12:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 47.6373ms [2025-12-02 12:12:19 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-12-02 12:12:19 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 12:12:19 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 75.8541ms [2025-12-02 12:12:19 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:12:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 200 - application/json;+charset=utf-8 77.3089ms [2025-12-02 12:12:19 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-12-02 12:12:19 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-12-02 12:12:19 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 88.5336ms [2025-12-02 12:12:19 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:12:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 89.1780ms [2025-12-02 12:12:19 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-12-02 12:12:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-12-02 12:12:19 INF] Executed DbCommand (10ms) [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-12-02 12:12:19 INF] CORS policy execution successful. [2025-12-02 12:12:19 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:12:19 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-12-02 12:12:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:12:19 INF] Executed DbCommand (10ms) [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-12-02 12:12:19 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-12-02 12:12:19 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 69.6711ms [2025-12-02 12:12:19 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:12:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 70.1234ms [2025-12-02 12:12: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-12-02 12:12:19 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-12-02 12:12:19 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 12:12:19 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 26.1112ms [2025-12-02 12:12:19 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:12:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 200 - application/json;+charset=utf-8 26.8376ms [2025-12-02 12:12:19 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-12-02 12:12:19 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 74.8543ms [2025-12-02 12:12:19 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 12:12:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 75.6244ms [2025-12-02 12:12:19 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-12-02 12:12:19 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 119.9426ms [2025-12-02 12:12:19 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 12:12:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - - 200 - application/json;+charset=utf-8 122.4194ms [2025-12-02 12:12:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=430 - - [2025-12-02 12:12:23 INF] CORS policy execution successful. [2025-12-02 12:12:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=430 - - - 204 - - 0.1850ms [2025-12-02 12:12:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=430 - - [2025-12-02 12:12:23 INF] CORS policy execution successful. [2025-12-02 12:12:23 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 12:12: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-12-02 12:12:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:12: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-12-02 12:12:23 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-12-02 12:12:23 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-12-02 12:12:23 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 29.0954ms [2025-12-02 12:12:23 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 12:12:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=430 - - - 200 - application/json;+charset=utf-8 29.5106ms [2025-12-02 12:13:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - [2025-12-02 12:13:01 INF] CORS policy execution successful. [2025-12-02 12:13:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - - 204 - - 0.2236ms [2025-12-02 12:13:01 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundarydge9XJTtnrIJTgr0 525729 [2025-12-02 12:13:01 INF] CORS policy execution successful. [2025-12-02 12:13:01 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-12-02 12:13:01 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-12-02 12:13:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:13:01 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-12-02 12:13:01 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-12-02 12:13:01 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-12-02 12:13:01 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 12:13:01 INF] Executed action Web.Controllers.API.RentalContractController.Update (Web) in 113.5924ms [2025-12-02 12:13:01 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-12-02 12:13:01 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundarydge9XJTtnrIJTgr0 525729 - 200 0 - 115.9721ms [2025-12-02 12:13:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - [2025-12-02 12:13:01 INF] CORS policy execution successful. [2025-12-02 12:13:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - - 204 - - 0.1704ms [2025-12-02 12:13:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - [2025-12-02 12:13:01 INF] CORS policy execution successful. [2025-12-02 12:13:01 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:13:01 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-12-02 12:13:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:13:01 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-12-02 12:13:01 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-12-02 12:13:01 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-12-02 12:13:01 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 32.4802ms [2025-12-02 12:13:01 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:13:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 33.0690ms [2025-12-02 12:13:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=430 - - [2025-12-02 12:13:02 INF] CORS policy execution successful. [2025-12-02 12:13:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=430 - - - 204 - - 0.3049ms [2025-12-02 12:13:02 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=430 - - [2025-12-02 12:13:02 INF] CORS policy execution successful. [2025-12-02 12:13:02 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 12:13:02 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-12-02 12:13:02 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:13: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-12-02 12:13:02 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-12-02 12:13:02 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-12-02 12:13:02 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 30.2876ms [2025-12-02 12:13:02 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 12:13:02 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=430 - - - 200 - application/json;+charset=utf-8 31.4933ms [2025-12-02 12:13:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa%20najmu%20od%2001.12.2025_Kwatery%20G%C5%82%C3%B3wnej%2024-1.pdf&id=430 - - [2025-12-02 12:13:03 INF] CORS policy execution successful. [2025-12-02 12:13:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa%20najmu%20od%2001.12.2025_Kwatery%20G%C5%82%C3%B3wnej%2024-1.pdf&id=430 - - - 204 - - 0.2373ms [2025-12-02 12:13:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa%20najmu%20od%2001.12.2025_Kwatery%20G%C5%82%C3%B3wnej%2024-1.pdf&id=430 - - [2025-12-02 12:13:03 INF] CORS policy execution successful. [2025-12-02 12:13:03 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 12:13:03 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-12-02 12:13:03 INF] Executing FileContentResult, sending file with download name '' ... [2025-12-02 12:13:03 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 1.7266ms [2025-12-02 12:13:03 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 12:13:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa%20najmu%20od%2001.12.2025_Kwatery%20G%C5%82%C3%B3wnej%2024-1.pdf&id=430 - - - 200 524699 application/pdf 2.2739ms [2025-12-02 12:16:44 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - [2025-12-02 12:16:44 INF] CORS policy execution successful. [2025-12-02 12:16:44 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - - 204 - - 0.1854ms [2025-12-02 12:16:44 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundaryv0ZloYexPa4EPY2f 119400 [2025-12-02 12:16:44 INF] CORS policy execution successful. [2025-12-02 12:16:44 INF] Executing endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-12-02 12:16:44 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-12-02 12:16:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:16:44 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-12-02 12:16:44 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-12-02 12:16:44 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 12:16:44 INF] Executed action Web.Controllers.API.AgreementController.Create (Web) in 198.4437ms [2025-12-02 12:16:44 INF] Executed endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-12-02 12:16:44 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundaryv0ZloYexPa4EPY2f 119400 - 200 0 - 201.3556ms [2025-12-02 12:16:44 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - [2025-12-02 12:16:44 INF] CORS policy execution successful. [2025-12-02 12:16:44 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - - 204 - - 0.1606ms [2025-12-02 12:16:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - [2025-12-02 12:16:44 INF] CORS policy execution successful. [2025-12-02 12:16:44 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:16:44 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-12-02 12:16:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:16: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-12-02 12:16:44 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-12-02 12:16:44 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-12-02 12:16:44 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 15.1213ms [2025-12-02 12:16:44 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:16:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 15.8213ms [2025-12-02 12:16:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=789 - - [2025-12-02 12:16:46 INF] CORS policy execution successful. [2025-12-02 12:16:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=789 - - - 204 - - 0.2629ms [2025-12-02 12:16:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=789 - - [2025-12-02 12:16:46 INF] CORS policy execution successful. [2025-12-02 12:16:46 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 12:16:46 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-12-02 12:16:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:16: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-12-02 12:16:46 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-12-02 12:16:46 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-12-02 12:16:46 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 15.5984ms [2025-12-02 12:16:46 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 12:16:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=789 - - - 200 - application/json;+charset=utf-8 16.0820ms [2025-12-02 12:16:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WEJ%C5%9ACIA_Kwatery%20G%C5%82%C3%B3wnej%2024-1%20(27.11.2025).pdf&id=789 - - [2025-12-02 12:16:48 INF] CORS policy execution successful. [2025-12-02 12:16:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WEJ%C5%9ACIA_Kwatery%20G%C5%82%C3%B3wnej%2024-1%20(27.11.2025).pdf&id=789 - - - 204 - - 0.2321ms [2025-12-02 12:16:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WEJ%C5%9ACIA_Kwatery%20G%C5%82%C3%B3wnej%2024-1%20(27.11.2025).pdf&id=789 - - [2025-12-02 12:16:48 INF] CORS policy execution successful. [2025-12-02 12:16:48 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 12:16:48 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-12-02 12:16:48 INF] Executing FileContentResult, sending file with download name '' ... [2025-12-02 12:16:48 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 0.8162ms [2025-12-02 12:16:48 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 12:16:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WEJ%C5%9ACIA_Kwatery%20G%C5%82%C3%B3wnej%2024-1%20(27.11.2025).pdf&id=789 - - - 200 118632 application/pdf 1.3347ms [2025-12-02 12:16:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 12:16:57 INF] CORS policy execution successful. [2025-12-02 12:16:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.3407ms [2025-12-02 12:16:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 12:16:57 INF] CORS policy execution successful. [2025-12-02 12:16:57 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 12:16:57 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-12-02 12:16:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:16: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-12-02 12:16:57 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-12-02 12:16:57 INF] Executed DbCommand (7ms) [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-12-02 12:16:57 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-12-02 12:16:57 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 56.0689ms [2025-12-02 12:16:57 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 12:16:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 56.5652ms [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 204 - - 0.2398ms [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=206 - - - 204 - - 0.0681ms [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=206 - - - 204 - - 0.0748ms [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=206 - - - 204 - - 0.0642ms [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.3943ms [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=206 - - - 204 - - 0.0829ms [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=206 - - - 204 - - 0.2006ms [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - - 204 - - 0.0776ms [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=206 - - - 204 - - 0.0830ms [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1820ms [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1306ms [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0569ms [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 204 - - 0.0548ms [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 12:17:05 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 12:17:05 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-12-02 12:17:05 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-12-02 12:17:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 12:17:05 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-12-02 12:17:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 12:17:05 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-12-02 12:17:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17:05 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-12-02 12:17:05 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-12-02 12:17:05 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 12:17:05 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-12-02 12:17:05 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 26.3348ms [2025-12-02 12:17:05 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 26.8773ms [2025-12-02 12:17:05 INF] Executed DbCommand (15ms) [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-12-02 12:17:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:17:05 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-12-02 12:17:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 12:17:05 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-12-02 12:17:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:17:05 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-12-02 12:17:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17: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-12-02 12:17:05 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-12-02 12:17:05 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-12-02 12:17:05 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 50.3344ms [2025-12-02 12:17:05 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 50.7331ms [2025-12-02 12:17:05 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-12-02 12:17:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:17:05 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-12-02 12:17:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17:05 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-12-02 12:17:05 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-12-02 12:17:05 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 12:17:05 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 43.2015ms [2025-12-02 12:17:05 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 200 - application/json;+charset=utf-8 47.2558ms [2025-12-02 12:17:05 INF] Executed DbCommand (6ms) [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-12-02 12:17:05 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-12-02 12:17:05 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 45.5028ms [2025-12-02 12:17:05 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:17:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 45.9533ms [2025-12-02 12:17:05 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-12-02 12:17:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=206 - - [2025-12-02 12:17:05 INF] CORS policy execution successful. [2025-12-02 12:17:05 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 12:17:05 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-12-02 12:17:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17:05 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-12-02 12:17:05 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-12-02 12:17:05 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 52.2996ms [2025-12-02 12:17:05 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 12:17: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-12-02 12:17:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 57.4254ms [2025-12-02 12:17:06 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-12-02 12:17:06 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-12-02 12:17:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 12:17:06 INF] CORS policy execution successful. [2025-12-02 12:17:06 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 12:17:06 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-12-02 12:17:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17:06 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-12-02 12:17:06 INF] Executed DbCommand (10ms) [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-12-02 12:17:06 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 102.5015ms [2025-12-02 12:17:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 12:17:06 INF] CORS policy execution successful. [2025-12-02 12:17:06 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 12:17:06 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-12-02 12:17:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17: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-12-02 12:17:06 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 12:17:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 122.6095ms [2025-12-02 12:17:06 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-12-02 12:17:06 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", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-12-02 12:17:06 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-12-02 12:17:06 INF] Executed DbCommand (10ms) [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-12-02 12:17:06 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-12-02 12:17:06 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 47.6635ms [2025-12-02 12:17:06 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 12:17:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 48.9468ms [2025-12-02 12:17:06 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 42.5947ms [2025-12-02 12:17:06 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 12:17:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 43.0991ms [2025-12-02 12:17:06 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-12-02 12:17:06 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-12-02 12:17:06 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-12-02 12:17:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 12:17:06 INF] CORS policy execution successful. [2025-12-02 12:17:06 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 12:17:06 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 29.8884ms [2025-12-02 12:17:06 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 12:17:06 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-12-02 12:17:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 44.9962ms [2025-12-02 12:17:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17:06 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-12-02 12:17:06 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 80.7928ms [2025-12-02 12:17:06 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:17:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 81.4881ms [2025-12-02 12:17:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 12:17:06 INF] CORS policy execution successful. [2025-12-02 12:17:06 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:17:06 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-12-02 12:17:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17:06 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-12-02 12:17:06 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-12-02 12:17:06 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-12-02 12:17:06 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 27.2309ms [2025-12-02 12:17:06 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 12:17:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 28.0275ms [2025-12-02 12:17:06 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-12-02 12:17:06 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-12-02 12:17:06 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 12:17:06 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 18.677ms [2025-12-02 12:17:06 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:17:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 200 - application/json;+charset=utf-8 19.2871ms [2025-12-02 12:17:06 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-12-02 12:17:06 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 174.4187ms [2025-12-02 12:17:06 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 12:17:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=206 - - - 200 - application/json;+charset=utf-8 174.7665ms [2025-12-02 12:17:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=429 - - [2025-12-02 12:17:10 INF] CORS policy execution successful. [2025-12-02 12:17:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=429 - - - 204 - - 0.2267ms [2025-12-02 12:17:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=429 - - [2025-12-02 12:17:10 INF] CORS policy execution successful. [2025-12-02 12:17:10 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 12:17:10 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-12-02 12:17:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17:10 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-12-02 12:17:10 INF] Executed DbCommand (2ms) [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-12-02 12:17:10 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-12-02 12:17:10 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 28.6833ms [2025-12-02 12:17:10 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 12:17:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=429 - - - 200 - application/json;+charset=utf-8 29.2672ms [2025-12-02 12:17:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - [2025-12-02 12:17:29 INF] CORS policy execution successful. [2025-12-02 12:17:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - - 204 - - 0.2298ms [2025-12-02 12:17:29 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryGWoEJ2JHT2tuvkke 528724 [2025-12-02 12:17:29 INF] CORS policy execution successful. [2025-12-02 12:17:29 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-12-02 12:17: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-12-02 12:17:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17: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-12-02 12:17:29 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-12-02 12:17:29 INF] Executed DbCommand (0ms) [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-12-02 12:17:29 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 12:17:29 INF] Executed action Web.Controllers.API.RentalContractController.Update (Web) in 250.4263ms [2025-12-02 12:17:29 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-12-02 12:17:29 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryGWoEJ2JHT2tuvkke 528724 - 200 0 - 253.6998ms [2025-12-02 12:17:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - [2025-12-02 12:17:29 INF] CORS policy execution successful. [2025-12-02 12:17:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - - 204 - - 0.1683ms [2025-12-02 12:17:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - [2025-12-02 12:17:29 INF] CORS policy execution successful. [2025-12-02 12:17:29 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:17:29 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-12-02 12:17:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17:29 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-12-02 12:17:29 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-12-02 12:17:29 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-12-02 12:17:29 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 28.3306ms [2025-12-02 12:17:29 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:17:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 28.7591ms [2025-12-02 12:17:31 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=429 - - [2025-12-02 12:17:31 INF] CORS policy execution successful. [2025-12-02 12:17:31 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=429 - - - 204 - - 0.1847ms [2025-12-02 12:17:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=429 - - [2025-12-02 12:17:31 INF] CORS policy execution successful. [2025-12-02 12:17:31 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 12:17:31 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-12-02 12:17:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17:31 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-12-02 12:17: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-12-02 12:17:31 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-12-02 12:17:31 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 25.5852ms [2025-12-02 12:17:31 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 12:17:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=429 - - - 200 - application/json;+charset=utf-8 26.1988ms [2025-12-02 12:17:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa%20najmu%20od%2001.12.2025_Grzybowska%2085A-31.pdf&id=429 - - [2025-12-02 12:17:33 INF] CORS policy execution successful. [2025-12-02 12:17:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa%20najmu%20od%2001.12.2025_Grzybowska%2085A-31.pdf&id=429 - - - 204 - - 0.2180ms [2025-12-02 12:17:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa%20najmu%20od%2001.12.2025_Grzybowska%2085A-31.pdf&id=429 - - [2025-12-02 12:17:33 INF] CORS policy execution successful. [2025-12-02 12:17:33 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 12:17:33 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-12-02 12:17:33 INF] Executing FileContentResult, sending file with download name '' ... [2025-12-02 12:17:33 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 1.2041ms [2025-12-02 12:17:33 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 12:17:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa%20najmu%20od%2001.12.2025_Grzybowska%2085A-31.pdf&id=429 - - - 200 527699 application/pdf 1.7380ms [2025-12-02 12:17:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - [2025-12-02 12:17:41 INF] CORS policy execution successful. [2025-12-02 12:17:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - - 204 - - 0.1780ms [2025-12-02 12:17:41 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryB6uarxgAsS46mEY6 829 [2025-12-02 12:17:41 INF] CORS policy execution successful. [2025-12-02 12:17:41 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-12-02 12:17:41 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-12-02 12:17:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17: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-12-02 12:17:41 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-12-02 12:17:41 INF] Executed DbCommand (0ms) [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-12-02 12:17:41 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 12:17:41 INF] Executed action Web.Controllers.API.RentalContractController.Update (Web) in 20.4484ms [2025-12-02 12:17:41 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-12-02 12:17:41 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryB6uarxgAsS46mEY6 829 - 200 0 - 20.9918ms [2025-12-02 12:17:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - [2025-12-02 12:17:41 INF] CORS policy execution successful. [2025-12-02 12:17:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - - 204 - - 0.2153ms [2025-12-02 12:17:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - [2025-12-02 12:17:41 INF] CORS policy execution successful. [2025-12-02 12:17:41 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:17: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-12-02 12:17:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17: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-12-02 12:17:41 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-12-02 12:17: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-12-02 12:17:41 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 33.0217ms [2025-12-02 12:17:41 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:17:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 33.4994ms [2025-12-02 12:17:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 12:17:43 INF] CORS policy execution successful. [2025-12-02 12:17:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.1843ms [2025-12-02 12:17:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 12:17:43 INF] CORS policy execution successful. [2025-12-02 12:17:43 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 12:17:43 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-12-02 12:17:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:17:43 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-12-02 12:17: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-12-02 12:17:43 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-12-02 12:17: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-12-02 12:17:43 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 56.0817ms [2025-12-02 12:17:43 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 12:17:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 56.5174ms [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - - 204 - - 0.3664ms [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=335 - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=335 - - - 204 - - 0.1326ms [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=335 - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=335 - - - 204 - - 0.1181ms [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0582ms [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=335 - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=335 - - - 204 - - 0.1811ms [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=335 - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=335 - - - 204 - - 0.1320ms [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - - 204 - - 0.1954ms [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - - 204 - - 0.0780ms [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - - 204 - - 0.1246ms [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1506ms [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=335 - - [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0668ms [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=335 - - - 204 - - 0.3228ms [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1362ms [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 12:18:34 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 12:18:34 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-12-02 12:18:34 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-12-02 12:18:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:18:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:18:34 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=335 - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:18:34 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-12-02 12:18:34 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-12-02 12:18:34 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-12-02 12:18:34 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-12-02 12:18:34 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 12:18:34 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 55.0711ms [2025-12-02 12:18:34 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - - 200 - application/json;+charset=utf-8 57.0921ms [2025-12-02 12:18:34 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 59.7178ms [2025-12-02 12:18:34 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 12:18:34 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-12-02 12:18:34 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-12-02 12:18:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 60.5943ms [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=335 - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:18:34 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-12-02 12:18:34 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-12-02 12:18:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:18:34 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", 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-12-02 12:18:34 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-12-02 12:18:34 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-12-02 12:18:34 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 66.5409ms [2025-12-02 12:18:34 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 67.1002ms [2025-12-02 12:18:34 INF] Executed DbCommand (15ms) [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-12-02 12:18:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=335 - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Executed DbCommand (7ms) [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-12-02 12:18:34 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-12-02 12:18:34 INF] Executed DbCommand (11ms) [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-12-02 12:18:34 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-12-02 12:18:34 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-12-02 12:18:34 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 58.0287ms [2025-12-02 12:18:34 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 58.8541ms [2025-12-02 12:18:34 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 131.5627ms [2025-12-02 12:18:34 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 132.7246ms [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 71.2636ms [2025-12-02 12:18:34 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 72.1909ms [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 70.2631ms [2025-12-02 12:18:34 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 70.9438ms [2025-12-02 12:18:34 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-12-02 12:18:34 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-12-02 12:18:34 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-12-02 12:18:34 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-12-02 12:18:34 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 183.4512ms [2025-12-02 12:18:34 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 184.5871ms [2025-12-02 12:18:34 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 42.8933ms [2025-12-02 12:18:34 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 43.4899ms [2025-12-02 12:18:34 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 144.3855ms [2025-12-02 12:18:34 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=335 - - - 200 - application/json;+charset=utf-8 145.1046ms [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=335 - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=335 - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:18:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - [2025-12-02 12:18:34 INF] CORS policy execution successful. [2025-12-02 12:18:34 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:18:34 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-12-02 12:18:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:18:34 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-12-02 12:18:34 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-12-02 12:18:34 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-12-02 12:18:34 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 26.4074ms [2025-12-02 12:18:34 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 26.8955ms [2025-12-02 12:18:34 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-12-02 12:18:34 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-12-02 12:18:34 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 12:18:34 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 31.0657ms [2025-12-02 12:18:34 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - - 200 - application/json;+charset=utf-8 31.4782ms [2025-12-02 12:18:34 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-12-02 12:18:34 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-12-02 12:18:34 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-12-02 12:18:34 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 35.6282ms [2025-12-02 12:18:34 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 12:18:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 35.9611ms [2025-12-02 12:19:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - [2025-12-02 12:19:38 INF] CORS policy execution successful. [2025-12-02 12:19:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - - 204 - - 0.2931ms [2025-12-02 12:19:38 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundaryMWJdMA1bN8m7xMwr 161468 [2025-12-02 12:19:38 INF] CORS policy execution successful. [2025-12-02 12:19:38 INF] Executing endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-12-02 12:19:38 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-12-02 12:19:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:19: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-12-02 12:19:38 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-12-02 12:19:38 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 12:19:38 INF] Executed action Web.Controllers.API.AgreementController.Create (Web) in 67.0573ms [2025-12-02 12:19:38 INF] Executed endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-12-02 12:19:38 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundaryMWJdMA1bN8m7xMwr 161468 - 200 0 - 68.8569ms [2025-12-02 12:19:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - [2025-12-02 12:19:38 INF] CORS policy execution successful. [2025-12-02 12:19:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - - 204 - - 0.1635ms [2025-12-02 12:19:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - [2025-12-02 12:19:38 INF] CORS policy execution successful. [2025-12-02 12:19:38 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:19:38 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-12-02 12:19:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:19: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-12-02 12:19:38 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-12-02 12:19:38 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-12-02 12:19:38 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 16.3198ms [2025-12-02 12:19:38 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:19:38 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 16.8280ms [2025-12-02 12:19:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=790 - - [2025-12-02 12:19:42 INF] CORS policy execution successful. [2025-12-02 12:19:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=790 - - - 204 - - 0.2093ms [2025-12-02 12:19:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=790 - - [2025-12-02 12:19:42 INF] CORS policy execution successful. [2025-12-02 12:19:42 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 12:19:42 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-12-02 12:19:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:19: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-12-02 12:19:42 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-12-02 12:19:42 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-12-02 12:19:42 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 14.7305ms [2025-12-02 12:19:42 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 12:19:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=790 - - - 200 - application/json;+charset=utf-8 15.1830ms [2025-12-02 12:19:44 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WYJ%C5%9ACIA_Cio%C5%82ka%2025-92%20(29.11.2025).pdf&id=790 - - [2025-12-02 12:19:44 INF] CORS policy execution successful. [2025-12-02 12:19:44 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WYJ%C5%9ACIA_Cio%C5%82ka%2025-92%20(29.11.2025).pdf&id=790 - - - 204 - - 0.2214ms [2025-12-02 12:19:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WYJ%C5%9ACIA_Cio%C5%82ka%2025-92%20(29.11.2025).pdf&id=790 - - [2025-12-02 12:19:44 INF] CORS policy execution successful. [2025-12-02 12:19:44 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 12:19:44 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-12-02 12:19:44 INF] Executing FileContentResult, sending file with download name '' ... [2025-12-02 12:19:44 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 0.7102ms [2025-12-02 12:19:44 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 12:19:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WYJ%C5%9ACIA_Cio%C5%82ka%2025-92%20(29.11.2025).pdf&id=790 - - - 200 160711 application/pdf 1.2342ms [2025-12-02 12:20:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/update - - [2025-12-02 12:20:05 INF] CORS policy execution successful. [2025-12-02 12:20:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/update - - - 204 - - 0.2188ms [2025-12-02 12:20:05 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/agreement/update multipart/form-data;+boundary=----WebKitFormBoundaryQTWiMNdqutGZjUM0 555 [2025-12-02 12:20:05 INF] CORS policy execution successful. [2025-12-02 12:20:05 INF] Executing endpoint 'Web.Controllers.API.AgreementController.Update (Web)' [2025-12-02 12:20:05 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-12-02 12:20:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:20: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-12-02 12:20: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-12-02 12:20:05 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-12-02 12:20:05 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 12:20:05 INF] Executed action Web.Controllers.API.AgreementController.Update (Web) in 18.9991ms [2025-12-02 12:20:05 INF] Executed endpoint 'Web.Controllers.API.AgreementController.Update (Web)' [2025-12-02 12:20:05 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/agreement/update multipart/form-data;+boundary=----WebKitFormBoundaryQTWiMNdqutGZjUM0 555 - 200 0 - 19.6743ms [2025-12-02 12:20:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - [2025-12-02 12:20:05 INF] CORS policy execution successful. [2025-12-02 12:20:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - - 204 - - 0.2071ms [2025-12-02 12:20:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - [2025-12-02 12:20:05 INF] CORS policy execution successful. [2025-12-02 12:20:05 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:20:05 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-12-02 12:20:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:20: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-12-02 12:20:05 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-12-02 12:20:05 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-12-02 12:20:05 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 15.7163ms [2025-12-02 12:20:05 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:20:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 16.1742ms [2025-12-02 12:20:09 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=790 - - [2025-12-02 12:20:09 INF] CORS policy execution successful. [2025-12-02 12:20:09 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=790 - - - 204 - - 0.2028ms [2025-12-02 12:20:09 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=790 - - [2025-12-02 12:20:09 INF] CORS policy execution successful. [2025-12-02 12:20:09 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 12:20:09 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-12-02 12:20:09 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:20: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-12-02 12:20:09 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-12-02 12:20:09 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-12-02 12:20:09 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 17.6135ms [2025-12-02 12:20:09 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 12:20:09 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=790 - - - 200 - application/json;+charset=utf-8 18.1023ms [2025-12-02 12:20:35 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=286 - - [2025-12-02 12:20:35 INF] CORS policy execution successful. [2025-12-02 12:20:35 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=286 - - - 204 - - 0.2270ms [2025-12-02 12:20:35 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=286 - - [2025-12-02 12:20:35 INF] CORS policy execution successful. [2025-12-02 12:20:35 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 12:20:35 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-12-02 12:20:35 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:20: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-12-02 12:20:35 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-12-02 12:20:35 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-12-02 12:20:35 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 30.7381ms [2025-12-02 12:20:35 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 12:20:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=286 - - - 200 - application/json;+charset=utf-8 31.3330ms [2025-12-02 12:21:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 12:21:25 INF] CORS policy execution successful. [2025-12-02 12:21:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2010ms [2025-12-02 12:21:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 12:21:25 INF] CORS policy execution successful. [2025-12-02 12:21:25 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 12:21:25 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-12-02 12:21:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21:25 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-12-02 12:21:25 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-12-02 12:21:25 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-12-02 12:21:25 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-12-02 12:21:25 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 74.9526ms [2025-12-02 12:21:25 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 12:21:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 75.5632ms [2025-12-02 12:21:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - [2025-12-02 12:21:26 INF] CORS policy execution successful. [2025-12-02 12:21:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - - 204 - - 0.2088ms [2025-12-02 12:21:26 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryAcdsPa1wPKQapM1B 830 [2025-12-02 12:21:26 INF] CORS policy execution successful. [2025-12-02 12:21:26 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-12-02 12:21:26 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-12-02 12:21:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21:26 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-12-02 12:21:26 INF] Executed DbCommand (0ms) [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-12-02 12:21:26 INF] Executed DbCommand (0ms) [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-12-02 12:21:26 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 12:21:26 INF] Executed action Web.Controllers.API.RentalContractController.Update (Web) in 16.214ms [2025-12-02 12:21:26 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-12-02 12:21:26 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryAcdsPa1wPKQapM1B 830 - 200 0 - 16.8285ms [2025-12-02 12:21:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - [2025-12-02 12:21:26 INF] CORS policy execution successful. [2025-12-02 12:21:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - - 204 - - 0.2114ms [2025-12-02 12:21:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - [2025-12-02 12:21:26 INF] CORS policy execution successful. [2025-12-02 12:21:26 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:21:26 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-12-02 12:21:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21: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-12-02 12:21:26 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-12-02 12:21:26 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-12-02 12:21:26 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 28.6169ms [2025-12-02 12:21:26 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:21:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 29.1578ms [2025-12-02 12:21:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 12:21:29 INF] CORS policy execution successful. [2025-12-02 12:21:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2630ms [2025-12-02 12:21:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 12:21:29 INF] CORS policy execution successful. [2025-12-02 12:21:29 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 12:21:29 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-12-02 12:21:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21: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-12-02 12:21:29 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-12-02 12:21:29 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-12-02 12:21: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-12-02 12:21:29 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 66.1543ms [2025-12-02 12:21:29 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 12:21:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 66.7958ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=201 - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=201 - - - 204 - - 0.1883ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=201 - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=201 - - - 204 - - 0.0765ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2119ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=201 - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=201 - - - 204 - - 0.1987ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=201 - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=201 - - - 204 - - 0.0894ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=201 - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=201 - - - 204 - - 0.0775ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=201 - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=201 - - - 204 - - 0.0818ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=201 - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=201 - - [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=201 - - - 204 - - 0.0791ms [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=201 - - - 204 - - 0.1862ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1736ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1047ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2124ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=201 - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=201 - - - 204 - - 0.0932ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=201 - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 12:21:58 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-12-02 12:21:58 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21:58 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-12-02 12:21:58 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-12-02 12:21:58 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-12-02 12:21:58 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 248.9819ms [2025-12-02 12:21:58 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=201 - - - 200 - application/json;+charset=utf-8 249.4154ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=201 - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:21:58 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-12-02 12:21:58 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21:58 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-12-02 12:21:58 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 12:21:58 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-12-02 12:21:58 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21: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-12-02 12:21:58 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=201 - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 12:21:58 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-12-02 12:21:58 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21: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-12-02 12:21:58 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-12-02 12:21:58 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-12-02 12:21:58 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 34.0007ms [2025-12-02 12:21:58 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=201 - - - 200 - application/json;+charset=utf-8 34.3962ms [2025-12-02 12:21:58 INF] Executed DbCommand (61ms) [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-12-02 12:21:58 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 12:21:58 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 75.0542ms [2025-12-02 12:21:58 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=201 - - - 200 - application/json;+charset=utf-8 75.4467ms [2025-12-02 12:21:58 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", 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-12-02 12:21:58 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-12-02 12:21:58 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=201 - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 12:21:58 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-12-02 12:21:58 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21:58 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-12-02 12:21:58 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-12-02 12:21:58 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-12-02 12:21:58 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 16.083ms [2025-12-02 12:21:58 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=201 - - - 200 - application/json;+charset=utf-8 16.5651ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=201 - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:21:58 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-12-02 12:21:58 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21:58 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-12-02 12:21:58 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-12-02 12:21:58 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-12-02 12:21:58 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 18.54ms [2025-12-02 12:21:58 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=201 - - - 200 - application/json;+charset=utf-8 19.0146ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=201 - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 12:21:58 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-12-02 12:21:58 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21:58 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-12-02 12:21:58 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 12:21:58 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-12-02 12:21:58 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 14.813ms [2025-12-02 12:21:58 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=201 - - - 200 - application/json;+charset=utf-8 15.2302ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=201 - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 12:21:58 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-12-02 12:21:58 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21:58 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-12-02 12:21:58 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-12-02 12:21:58 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-12-02 12:21:58 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 14.9343ms [2025-12-02 12:21:58 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=201 - - - 200 - application/json;+charset=utf-8 15.4060ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=201 - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:21:58 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-12-02 12:21:58 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21: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-12-02 12:21:58 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-12-02 12:21:58 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-12-02 12:21:58 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 35.0667ms [2025-12-02 12:21:58 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:21:58 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=201 - - - 200 - application/json;+charset=utf-8 35.4528ms [2025-12-02 12:21:58 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 12:21:58 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-12-02 12:21:58 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21:58 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-12-02 12:21:58 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 12:21:58 INF] CORS policy execution successful. [2025-12-02 12:21:58 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 12:21:58 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-12-02 12:21:58 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21:59 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-12-02 12:21:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 12:21:59 INF] CORS policy execution successful. [2025-12-02 12:21:59 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 12:21:59 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-12-02 12:21:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21:59 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-12-02 12:21:59 INF] Executed DbCommand (33ms) [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-12-02 12:21:59 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-12-02 12:21:59 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 54.0288ms [2025-12-02 12:21:59 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 12:21:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 54.4830ms [2025-12-02 12:21:59 INF] Executed DbCommand (24ms) [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-12-02 12:21:59 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-12-02 12:21:59 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 42.6317ms [2025-12-02 12:21:59 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 12:21:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 43.0934ms [2025-12-02 12:21:59 INF] Executed DbCommand (11ms) [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-12-02 12:21:59 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-12-02 12:21:59 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 26.6113ms [2025-12-02 12:21:59 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 12:21:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 27.0601ms [2025-12-02 12:21:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=201 - - [2025-12-02 12:21:59 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 255.704ms [2025-12-02 12:21:59 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 12:21:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 256.1475ms [2025-12-02 12:21:59 INF] CORS policy execution successful. [2025-12-02 12:21:59 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:21:59 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-12-02 12:21:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:21:59 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-12-02 12:21:59 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-12-02 12:21:59 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 12:21:59 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 16.3521ms [2025-12-02 12:21:59 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:21:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=201 - - - 200 - application/json;+charset=utf-8 17.2680ms [2025-12-02 12:22:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - [2025-12-02 12:22:43 INF] CORS policy execution successful. [2025-12-02 12:22:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - - 204 - - 0.2738ms [2025-12-02 12:22:43 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundarymNszarwouexAi4oQ 170249 [2025-12-02 12:22:43 INF] CORS policy execution successful. [2025-12-02 12:22:43 INF] Executing endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-12-02 12:22:43 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-12-02 12:22:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:22:43 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-12-02 12:22:43 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-12-02 12:22:43 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 12:22:43 INF] Executed action Web.Controllers.API.AgreementController.Create (Web) in 30.9286ms [2025-12-02 12:22:43 INF] Executed endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-12-02 12:22:43 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundarymNszarwouexAi4oQ 170249 - 200 0 - 32.8160ms [2025-12-02 12:22:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=201 - - [2025-12-02 12:22:43 INF] CORS policy execution successful. [2025-12-02 12:22:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=201 - - - 204 - - 0.1806ms [2025-12-02 12:22:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=201 - - [2025-12-02 12:22:43 INF] CORS policy execution successful. [2025-12-02 12:22:43 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:22:43 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-12-02 12:22:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:22: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-12-02 12:22:43 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-12-02 12:22:43 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-12-02 12:22:43 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 14.9043ms [2025-12-02 12:22:43 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:22:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=201 - - - 200 - application/json;+charset=utf-8 15.4517ms [2025-12-02 12:22:44 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=791 - - [2025-12-02 12:22:44 INF] CORS policy execution successful. [2025-12-02 12:22:44 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=791 - - - 204 - - 0.2204ms [2025-12-02 12:22:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=791 - - [2025-12-02 12:22:44 INF] CORS policy execution successful. [2025-12-02 12:22:44 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 12:22:44 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-12-02 12:22:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:22:44 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-12-02 12:22:44 INF] Executed DbCommand (2ms) [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-12-02 12:22:44 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-12-02 12:22:44 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 17.2714ms [2025-12-02 12:22:44 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 12:22:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=791 - - - 200 - application/json;+charset=utf-8 17.7473ms [2025-12-02 12:22:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WYJ%C5%9ACIA_S%C5%82omi%C5%84skiego%2019-8%20(30.11.2025).pdf&id=791 - - [2025-12-02 12:22:46 INF] CORS policy execution successful. [2025-12-02 12:22:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WYJ%C5%9ACIA_S%C5%82omi%C5%84skiego%2019-8%20(30.11.2025).pdf&id=791 - - - 204 - - 0.1978ms [2025-12-02 12:22:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WYJ%C5%9ACIA_S%C5%82omi%C5%84skiego%2019-8%20(30.11.2025).pdf&id=791 - - [2025-12-02 12:22:46 INF] CORS policy execution successful. [2025-12-02 12:22:46 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 12:22:46 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-12-02 12:22:46 INF] Executing FileContentResult, sending file with download name '' ... [2025-12-02 12:22:46 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 0.7788ms [2025-12-02 12:22:46 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 12:22:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WYJ%C5%9ACIA_S%C5%82omi%C5%84skiego%2019-8%20(30.11.2025).pdf&id=791 - - - 200 169486 application/pdf 1.3666ms [2025-12-02 12:23:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/update - - [2025-12-02 12:23:03 INF] CORS policy execution successful. [2025-12-02 12:23:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/update - - - 204 - - 0.1978ms [2025-12-02 12:23:03 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/agreement/update multipart/form-data;+boundary=----WebKitFormBoundaryGDwhdBaAE9FzAN6N 555 [2025-12-02 12:23:03 INF] CORS policy execution successful. [2025-12-02 12:23:03 INF] Executing endpoint 'Web.Controllers.API.AgreementController.Update (Web)' [2025-12-02 12:23:03 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-12-02 12:23:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23:03 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-12-02 12:23:03 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-12-02 12:23:03 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-12-02 12:23:03 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 12:23:03 INF] Executed action Web.Controllers.API.AgreementController.Update (Web) in 15.7145ms [2025-12-02 12:23:03 INF] Executed endpoint 'Web.Controllers.API.AgreementController.Update (Web)' [2025-12-02 12:23:03 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/agreement/update multipart/form-data;+boundary=----WebKitFormBoundaryGDwhdBaAE9FzAN6N 555 - 200 0 - 16.2021ms [2025-12-02 12:23:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=201 - - [2025-12-02 12:23:03 INF] CORS policy execution successful. [2025-12-02 12:23:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=201 - - - 204 - - 0.1781ms [2025-12-02 12:23:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=201 - - [2025-12-02 12:23:04 INF] CORS policy execution successful. [2025-12-02 12:23:04 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:23:04 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-12-02 12:23:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23:04 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-12-02 12:23:04 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-12-02 12:23:04 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-12-02 12:23:04 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 14.7696ms [2025-12-02 12:23:04 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:23:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=201 - - - 200 - application/json;+charset=utf-8 15.2962ms [2025-12-02 12:23:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 12:23:08 INF] CORS policy execution successful. [2025-12-02 12:23:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2227ms [2025-12-02 12:23:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 12:23:08 INF] CORS policy execution successful. [2025-12-02 12:23:08 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 12:23:08 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-12-02 12:23:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23: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-12-02 12:23:08 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-12-02 12:23:08 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-12-02 12:23:08 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-12-02 12:23:08 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 60.3637ms [2025-12-02 12:23:08 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 12:23:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 60.9655ms [2025-12-02 12:23:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=301 - - [2025-12-02 12:23:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - - 204 - - 0.2690ms [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=301 - - - 204 - - 0.3865ms [2025-12-02 12:23:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=301 - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=301 - - - 204 - - 0.1112ms [2025-12-02 12:23:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=301 - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=301 - - - 204 - - 0.0755ms [2025-12-02 12:23:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=301 - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=301 - - - 204 - - 0.0543ms [2025-12-02 12:23:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0894ms [2025-12-02 12:23:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - - 204 - - 0.1335ms [2025-12-02 12:23:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - - 204 - - 0.0717ms [2025-12-02 12:23:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=301 - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=301 - - - 204 - - 0.0664ms [2025-12-02 12:23:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - - 204 - - 0.0754ms [2025-12-02 12:23:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0799ms [2025-12-02 12:23:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0870ms [2025-12-02 12:23:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1182ms [2025-12-02 12:23:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 12:23:32 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-12-02 12:23:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23: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-12-02 12:23:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=301 - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 12:23:32 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-12-02 12:23:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23: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-12-02 12:23:32 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-12-02 12:23:32 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-12-02 12:23:32 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 12.0215ms [2025-12-02 12:23:32 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 12:23:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 12.4763ms [2025-12-02 12:23:32 INF] Executed DbCommand (13ms) [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-12-02 12:23:32 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-12-02 12:23:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=301 - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 12:23:32 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-12-02 12:23:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23: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-12-02 12:23:32 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-12-02 12:23:32 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-12-02 12:23:32 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 60.0864ms [2025-12-02 12:23:32 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 12:23:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=301 - - - 200 - application/json;+charset=utf-8 60.4544ms [2025-12-02 12:23:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:23:32 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-12-02 12:23:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23: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-12-02 12:23:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=301 - - [2025-12-02 12:23:32 INF] CORS policy execution successful. [2025-12-02 12:23:32 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 12:23:32 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-12-02 12:23:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 11.7744ms [2025-12-02 12:23:33 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 12:23:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 12.1242ms [2025-12-02 12:23:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=301 - - [2025-12-02 12:23:33 INF] CORS policy execution successful. [2025-12-02 12:23:33 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23:33 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-12-02 12:23:33 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-12-02 12:23:33 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-12-02 12:23:33 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 12.9887ms [2025-12-02 12:23:33 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 12:23:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 13.4422ms [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 12:23:33 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 39.9918ms [2025-12-02 12:23:33 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:23:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - - 200 - application/json;+charset=utf-8 40.3532ms [2025-12-02 12:23:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 12:23:33 INF] CORS policy execution successful. [2025-12-02 12:23:33 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 12:23:33 INF] CORS policy execution successful. [2025-12-02 12:23:33 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=301 - - [2025-12-02 12:23:33 INF] CORS policy execution successful. [2025-12-02 12:23:33 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23:33 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-12-02 12:23:33 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-12-02 12:23:33 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-12-02 12:23:33 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 14.2911ms [2025-12-02 12:23:33 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 12:23:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 14.7538ms [2025-12-02 12:23:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - [2025-12-02 12:23:33 INF] CORS policy execution successful. [2025-12-02 12:23:33 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23:33 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-12-02 12:23:33 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-12-02 12:23:33 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-12-02 12:23:33 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 30.0634ms [2025-12-02 12:23:33 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:23:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 30.4811ms [2025-12-02 12:23:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - [2025-12-02 12:23:33 INF] CORS policy execution successful. [2025-12-02 12:23:33 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Executed DbCommand (0ms) [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-12-02 12:23:33 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-12-02 12:23:33 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 15.7356ms [2025-12-02 12:23:33 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:23:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 16.1810ms [2025-12-02 12:23:33 INF] Executed DbCommand (78ms) [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-12-02 12:23:33 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-12-02 12:23:33 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 99.5344ms [2025-12-02 12:23:33 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 12:23:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 99.9598ms [2025-12-02 12:23:33 INF] Executed DbCommand (71ms) [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-12-02 12:23:33 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-12-02 12:23:33 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 87.4583ms [2025-12-02 12:23:33 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 12:23:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 87.9460ms [2025-12-02 12:23:33 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 257.0105ms [2025-12-02 12:23:33 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 12:23:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 257.5212ms [2025-12-02 12:23:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 12:23:33 INF] CORS policy execution successful. [2025-12-02 12:23:33 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - [2025-12-02 12:23:33 INF] CORS policy execution successful. [2025-12-02 12:23:33 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23:33 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-12-02 12:23:33 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", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 27.1161ms [2025-12-02 12:23:33 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 12:23:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 27.6395ms [2025-12-02 12:23:33 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-12-02 12:23:33 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 12:23:33 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 15.3318ms [2025-12-02 12:23:33 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:23:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - - 200 - application/json;+charset=utf-8 15.7676ms [2025-12-02 12:23:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 12:23:39 INF] CORS policy execution successful. [2025-12-02 12:23:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2770ms [2025-12-02 12:23:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 12:23:39 INF] CORS policy execution successful. [2025-12-02 12:23:39 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 12:23:39 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-12-02 12:23:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:23: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-12-02 12:23:39 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-12-02 12:23:39 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-12-02 12:23:39 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-12-02 12:23:39 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 62.2609ms [2025-12-02 12:23:39 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 12:23:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 62.8420ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2181ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=301 - - - 204 - - 0.0994ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - - 204 - - 0.0871ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=301 - - - 204 - - 0.0861ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=301 - - - 204 - - 0.2100ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=301 - - - 204 - - 0.0797ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - - 204 - - 0.2317ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - - 204 - - 0.0884ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=301 - - - 204 - - 0.0827ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - - 204 - - 0.1000ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.3701ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0688ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:24:01 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-12-02 12:24:01 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-12-02 12:24:01 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-12-02 12:24:01 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 13.3393ms [2025-12-02 12:24:01 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 13.8265ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1147ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Executed DbCommand (28ms) [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-12-02 12:24:01 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 12:24:01 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 41.8551ms [2025-12-02 12:24:01 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - - 200 - application/json;+charset=utf-8 42.3616ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 17.5491ms [2025-12-02 12:24:01 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 17.9488ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:24:01 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-12-02 12:24:01 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-12-02 12:24:01 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-12-02 12:24:01 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 66.2583ms [2025-12-02 12:24:01 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=301 - - - 200 - application/json;+charset=utf-8 66.6880ms [2025-12-02 12:24:01 INF] Executed DbCommand (86ms) [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-12-02 12:24:01 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-12-02 12:24:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:24:01 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-12-02 12:24:01 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-12-02 12:24:01 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-12-02 12:24:01 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 15.1548ms [2025-12-02 12:24:01 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 15.6982ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Executed DbCommand (0ms) [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-12-02 12:24:01 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-12-02 12:24:01 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 14.9026ms [2025-12-02 12:24:01 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 15.4251ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:24:01 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-12-02 12:24:01 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-12-02 12:24:01 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-12-02 12:24:01 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 28.5908ms [2025-12-02 12:24:01 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 29.0329ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:24:01 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-12-02 12:24:01 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-12-02 12:24:01 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-12-02 12:24:01 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 17.094ms [2025-12-02 12:24:01 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 17.5976ms [2025-12-02 12:24:01 INF] Executed DbCommand (18ms) [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-12-02 12:24:01 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-12-02 12:24:01 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 42.6644ms [2025-12-02 12:24:01 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 43.2192ms [2025-12-02 12:24:01 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 226.9261ms [2025-12-02 12:24:01 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 227.2715ms [2025-12-02 12:24:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 12:24:01 INF] CORS policy execution successful. [2025-12-02 12:24:01 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Executed DbCommand (33ms) [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-12-02 12:24:01 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-12-02 12:24:01 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 54.6118ms [2025-12-02 12:24:01 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 55.2410ms [2025-12-02 12:24:01 INF] Executed DbCommand (22ms) [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-12-02 12:24:01 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 12:24:01 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 37.9886ms [2025-12-02 12:24:01 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - - 200 - application/json;+charset=utf-8 38.5034ms [2025-12-02 12:24:01 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", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-12-02 12:24:01 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-12-02 12:24:01 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 22.5571ms [2025-12-02 12:24:01 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 12:24:01 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 23.0251ms [2025-12-02 12:25:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - [2025-12-02 12:25:10 INF] CORS policy execution successful. [2025-12-02 12:25:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - - 204 - - 0.2477ms [2025-12-02 12:25:10 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundaryC1ATSJAU4eQgJVo0 123043 [2025-12-02 12:25:10 INF] CORS policy execution successful. [2025-12-02 12:25:10 INF] Executing endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-12-02 12:25:10 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-12-02 12:25:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:25:10 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-12-02 12:25:10 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-12-02 12:25:10 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 12:25:10 INF] Executed action Web.Controllers.API.AgreementController.Create (Web) in 111.9124ms [2025-12-02 12:25:10 INF] Executed endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-12-02 12:25:10 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundaryC1ATSJAU4eQgJVo0 123043 - 200 0 - 113.3166ms [2025-12-02 12:25:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - [2025-12-02 12:25:10 INF] CORS policy execution successful. [2025-12-02 12:25:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - - 204 - - 0.1736ms [2025-12-02 12:25:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - [2025-12-02 12:25:10 INF] CORS policy execution successful. [2025-12-02 12:25:10 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:25:10 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-12-02 12:25:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:25:10 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-12-02 12:25:10 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-12-02 12:25:10 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-12-02 12:25:10 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 18.3432ms [2025-12-02 12:25:10 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 12:25:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 18.9481ms [2025-12-02 12:25:12 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=792 - - [2025-12-02 12:25:12 INF] CORS policy execution successful. [2025-12-02 12:25:12 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=792 - - - 204 - - 0.2172ms [2025-12-02 12:25:12 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=792 - - [2025-12-02 12:25:12 INF] CORS policy execution successful. [2025-12-02 12:25:12 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 12:25:12 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-12-02 12:25:12 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:25:12 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-12-02 12:25:12 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-12-02 12:25:12 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-12-02 12:25:12 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 15.4521ms [2025-12-02 12:25:12 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 12:25:12 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=792 - - - 200 - application/json;+charset=utf-8 15.8739ms [2025-12-02 12:25:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WYJ%C5%9ACIA_Jasi%C5%84skiego%202-29%20(28.11.2025).pdf&id=792 - - [2025-12-02 12:25:15 INF] CORS policy execution successful. [2025-12-02 12:25:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WYJ%C5%9ACIA_Jasi%C5%84skiego%202-29%20(28.11.2025).pdf&id=792 - - - 204 - - 2.3578ms [2025-12-02 12:25:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WYJ%C5%9ACIA_Jasi%C5%84skiego%202-29%20(28.11.2025).pdf&id=792 - - [2025-12-02 12:25:15 INF] CORS policy execution successful. [2025-12-02 12:25:15 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 12:25:15 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-12-02 12:25:15 INF] Executing FileContentResult, sending file with download name '' ... [2025-12-02 12:25:15 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 0.716ms [2025-12-02 12:25:15 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 12:25:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WYJ%C5%9ACIA_Jasi%C5%84skiego%202-29%20(28.11.2025).pdf&id=792 - - - 200 122282 application/pdf 1.3240ms [2025-12-02 12:31:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/Document/getAll - - [2025-12-02 12:31:10 INF] CORS policy execution successful. [2025-12-02 12:31:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/Document/getAll - - - 204 - - 0.1957ms [2025-12-02 12:31:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/Document/getAll - - [2025-12-02 12:31:10 INF] CORS policy execution successful. [2025-12-02 12:31:10 INF] Executing endpoint 'Web.Controllers.API.DocumentController.GetAll (Web)' [2025-12-02 12:31:10 INF] Route matched with {action = "GetAll", controller = "Document"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.DocumentController (Web). [2025-12-02 12:31:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:31:10 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-12-02 12:31:10 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT d."Id", d."Comment", d."CreateTime", d."Description", d."Title" FROM "Documents" AS d [2025-12-02 12:31:10 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Documents.DocumentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-12-02 12:31:10 INF] Executed action Web.Controllers.API.DocumentController.GetAll (Web) in 19.6579ms [2025-12-02 12:31:10 INF] Executed endpoint 'Web.Controllers.API.DocumentController.GetAll (Web)' [2025-12-02 12:31:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/Document/getAll - - - 200 - application/json;+charset=utf-8 20.2317ms [2025-12-02 12:31:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/Document/getById?id=33 - - [2025-12-02 12:31:20 INF] CORS policy execution successful. [2025-12-02 12:31:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/Document/getById?id=33 - - - 204 - - 0.1925ms [2025-12-02 12:31:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/Document/getById?id=33 - - [2025-12-02 12:31:20 INF] CORS policy execution successful. [2025-12-02 12:31:20 INF] Executing endpoint 'Web.Controllers.API.DocumentController.GetByID (Web)' [2025-12-02 12:31:20 INF] Route matched with {action = "GetByID", controller = "Document"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetByID(Int32) on controller Web.Controllers.API.DocumentController (Web). [2025-12-02 12:31:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 12:31: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-12-02 12:31:20 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT d."Id", d."Comment", d."CreateTime", d."Description", d."Title" FROM "Documents" AS d WHERE d."Id" = @__p_0 LIMIT 1 [2025-12-02 12:31:20 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Documents.DocumentVM'. [2025-12-02 12:31:20 INF] Executed action Web.Controllers.API.DocumentController.GetByID (Web) in 13.3799ms [2025-12-02 12:31:20 INF] Executed endpoint 'Web.Controllers.API.DocumentController.GetByID (Web)' [2025-12-02 12:31:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/Document/getById?id=33 - - - 200 - application/json;+charset=utf-8 13.9912ms [2025-12-02 12:31:24 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=documents&fileName=Home%20Management%20umowa%20zarz%C4%85dzanie_2025.docx&id=33 - - [2025-12-02 12:31:24 INF] CORS policy execution successful. [2025-12-02 12:31:24 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=documents&fileName=Home%20Management%20umowa%20zarz%C4%85dzanie_2025.docx&id=33 - - - 204 - - 0.1864ms [2025-12-02 12:31:24 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=documents&fileName=Home%20Management%20umowa%20zarz%C4%85dzanie_2025.docx&id=33 - - [2025-12-02 12:31:24 INF] CORS policy execution successful. [2025-12-02 12:31:24 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 12:31:24 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-12-02 12:31:24 INF] Executing FileContentResult, sending file with download name '' ... [2025-12-02 12:31:24 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 5.1718ms [2025-12-02 12:31:24 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 12:31:24 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=documents&fileName=Home%20Management%20umowa%20zarz%C4%85dzanie_2025.docx&id=33 - - - 200 678293 application/vnd.openxmlformats-officedocument.wordprocessingml.document 5.5992ms [2025-12-02 12:39:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-12-02 12:39:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.1917ms [2025-12-02 13:00:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-12-02 13:00:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.1983ms [2025-12-02 13:00:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-12-02 13:00:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.0477ms [2025-12-02 13:00:45 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-12-02 13:00:45 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.1572ms [2025-12-02 14:12:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-12-02 14:12:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.1853ms [2025-12-02 14:12:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-12-02 14:12:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.2794ms [2025-12-02 15:01:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 15:01:05 INF] CORS policy execution successful. [2025-12-02 15:01:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2198ms [2025-12-02 15:01:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 15:01:05 INF] CORS policy execution successful. [2025-12-02 15:01:05 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 15:01:05 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-12-02 15:01:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 15:01: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-12-02 15:01:05 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-12-02 15:01:05 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-12-02 15:01:05 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-12-02 15:01:05 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 58.713ms [2025-12-02 15:01:05 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 15:01:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 59.4097ms [2025-12-02 15:01:24 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=179 - - [2025-12-02 15:01:24 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=179 - - [2025-12-02 15:01:24 INF] CORS policy execution successful. [2025-12-02 15:01:24 INF] CORS policy execution successful. [2025-12-02 15:01:24 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=179 - - - 204 - - 0.1992ms [2025-12-02 15:01:24 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=179 - - - 204 - - 0.2240ms [2025-12-02 15:01:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=179 - - [2025-12-02 15:01:25 INF] CORS policy execution successful. [2025-12-02 15:01:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=179 - - - 204 - - 0.2083ms [2025-12-02 15:01:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=179 - - [2025-12-02 15:01:25 INF] CORS policy execution successful. [2025-12-02 15:01:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=179 - - - 204 - - 0.1088ms [2025-12-02 15:01:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 15:01:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=179 - - [2025-12-02 15:01:25 INF] CORS policy execution successful. [2025-12-02 15:01:25 INF] CORS policy execution successful. [2025-12-02 15:01:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.7841ms [2025-12-02 15:01:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=179 - - - 204 - - 0.1870ms [2025-12-02 15:01:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=179 - - [2025-12-02 15:01:26 INF] CORS policy execution successful. [2025-12-02 15:01:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=179 - - - 204 - - 0.2123ms [2025-12-02 15:01:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=179 - - [2025-12-02 15:01:26 INF] CORS policy execution successful. [2025-12-02 15:01:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=179 - - - 204 - - 0.2043ms [2025-12-02 15:01:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 15:01:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=179 - - [2025-12-02 15:01:27 INF] CORS policy execution successful. [2025-12-02 15:01:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2799ms [2025-12-02 15:01:27 INF] CORS policy execution successful. [2025-12-02 15:01:27 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=179 - - [2025-12-02 15:01:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=179 - - - 204 - - 0.3094ms [2025-12-02 15:01:27 INF] CORS policy execution successful. [2025-12-02 15:01:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 15:01:27 INF] CORS policy execution successful. [2025-12-02 15:01:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1055ms [2025-12-02 15:01:27 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 15:01:27 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-12-02 15:01:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 15:01:27 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 15:01:27 INF] CORS policy execution successful. [2025-12-02 15:01:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1614ms [2025-12-02 15:01: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-12-02 15:01:27 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-12-02 15:01:27 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-12-02 15:01:27 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 63.3083ms [2025-12-02 15:01:27 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 15:01:27 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=179 - - - 200 - application/json;+charset=utf-8 63.7488ms [2025-12-02 15:01:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=179 - - [2025-12-02 15:01:27 INF] CORS policy execution successful. [2025-12-02 15:01:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=179 - - - 204 - - 0.1989ms [2025-12-02 15:01:27 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=179 - - [2025-12-02 15:01:27 INF] CORS policy execution successful. [2025-12-02 15:01:27 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 15:01:27 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-12-02 15:01:27 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 15:01: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-12-02 15:01:27 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-12-02 15:01:27 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 15:01:27 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 15.9342ms [2025-12-02 15:01:27 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 15:01:27 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=179 - - - 200 - application/json;+charset=utf-8 16.3877ms [2025-12-02 15:01:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=179 - - [2025-12-02 15:01:28 INF] CORS policy execution successful. [2025-12-02 15:01:28 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 15:01:28 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-12-02 15:01:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 15:01:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=179 - - [2025-12-02 15:01:28 INF] CORS policy execution successful. [2025-12-02 15:01:28 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 15:01:28 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-12-02 15:01:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 15:01:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 15:01:28 INF] CORS policy execution successful. [2025-12-02 15:01:28 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 15:01:28 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-12-02 15:01:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 15:01:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=179 - - [2025-12-02 15:01:28 INF] CORS policy execution successful. [2025-12-02 15:01:28 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 15:01:28 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-12-02 15:01:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 15:01:28 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-12-02 15:01:28 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-12-02 15:01:28 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-12-02 15:01:28 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 46.2419ms [2025-12-02 15:01:28 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 15:01:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=179 - - - 200 - application/json;+charset=utf-8 47.2795ms [2025-12-02 15:01:28 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-12-02 15:01:28 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-12-02 15:01:28 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-12-02 15:01:28 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 39.2175ms [2025-12-02 15:01:28 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 15:01:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=179 - - - 200 - application/json;+charset=utf-8 40.0158ms [2025-12-02 15:01:28 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-12-02 15:01:28 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-12-02 15:01:28 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-12-02 15:01:28 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-12-02 15:01:28 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 57.328ms [2025-12-02 15:01:28 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 15:01:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=179 - - - 200 - application/json;+charset=utf-8 57.8407ms [2025-12-02 15:01:28 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-12-02 15:01:28 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-12-02 15:01:28 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 85.8036ms [2025-12-02 15:01:28 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 15:01:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 93.1102ms [2025-12-02 15:01:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=179 - - [2025-12-02 15:01:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 15:01:30 INF] CORS policy execution successful. [2025-12-02 15:01:30 INF] CORS policy execution successful. [2025-12-02 15:01:30 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 15:01:30 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-12-02 15:01:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 15:01:30 INF] CORS policy execution successful. [2025-12-02 15:01:30 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 15:01:30 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-12-02 15:01:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 15:01:30 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 15:01: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-12-02 15:01:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 15:01:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 15:01:30 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-12-02 15:01: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-12-02 15:01:30 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-12-02 15:01: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-12-02 15:01:30 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 21.3103ms [2025-12-02 15:01:30 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 15:01:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=179 - - - 200 - application/json;+charset=utf-8 22.4249ms [2025-12-02 15:01:30 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-12-02 15:01:30 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-12-02 15:01:30 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-12-02 15:01:30 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 22.5356ms [2025-12-02 15:01:30 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 15:01:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 23.1442ms [2025-12-02 15:01:30 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-12-02 15:01:30 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-12-02 15:01:30 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 32.4537ms [2025-12-02 15:01:30 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 15:01:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 33.3612ms [2025-12-02 15:01:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=179 - - [2025-12-02 15:01:31 INF] CORS policy execution successful. [2025-12-02 15:01:31 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 15:01:31 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-12-02 15:01:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 15:01: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-12-02 15:01:31 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-12-02 15:01:31 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-12-02 15:01:31 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 14.1492ms [2025-12-02 15:01:31 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 15:01:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=179 - - - 200 - application/json;+charset=utf-8 14.6648ms [2025-12-02 15:01:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=179 - - [2025-12-02 15:01:32 INF] CORS policy execution successful. [2025-12-02 15:01:32 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 15:01:32 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-12-02 15:01:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 15:01: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-12-02 15:01:32 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 15:01:32 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-12-02 15:01:32 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 13.8758ms [2025-12-02 15:01:32 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 15:01:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=179 - - - 200 - application/json;+charset=utf-8 14.3689ms [2025-12-02 15:01:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=179 - - [2025-12-02 15:01:37 INF] CORS policy execution successful. [2025-12-02 15:01:37 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 15:01: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-12-02 15:01:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 15:01: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-12-02 15:01:37 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-12-02 15:01:37 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 15:01:37 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 16.0906ms [2025-12-02 15:01:37 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 15:01:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=179 - - - 200 - application/json;+charset=utf-8 16.7975ms [2025-12-02 15:01:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 15:01:40 INF] CORS policy execution successful. [2025-12-02 15:01:40 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 15:01:40 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-12-02 15:01:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 15:01: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-12-02 15:01:40 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-12-02 15:01:40 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-12-02 15:01:40 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 17.85ms [2025-12-02 15:01:40 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 15:01:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 18.4965ms [2025-12-02 15:09:48 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/robots.txt - - [2025-12-02 15:09:48 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/robots.txt - - - 404 0 - 0.2365ms [2025-12-02 15:46:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 15:46:51 INF] CORS policy execution successful. [2025-12-02 15:46:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1803ms [2025-12-02 15:46:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 15:46:51 INF] CORS policy execution successful. [2025-12-02 15:46:51 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 15:46: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-12-02 15:46:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 15:46: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-12-02 15:46:51 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", 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-12-02 15:46: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-12-02 15:46:51 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 30.7706ms [2025-12-02 15:46:51 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 15:46:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 31.5669ms [2025-12-02 15:46:52 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 15:46:52 INF] CORS policy execution successful. [2025-12-02 15:46:52 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2658ms [2025-12-02 15:46:52 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 15:46:52 INF] CORS policy execution successful. [2025-12-02 15:46:52 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 15: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-12-02 15:46:52 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 15:46:52 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-12-02 15:46:52 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-12-02 15: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-12-02 15: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-12-02 15:46:52 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 58.5083ms [2025-12-02 15:46:52 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 15:46:52 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 59.1677ms [2025-12-02 16:10:52 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-12-02 16:10:52 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.2057ms [2025-12-02 16:22:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-12-02 16:22:46 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-12-02 16:22:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.2598ms [2025-12-02 16:22:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-12-02 16:22:46 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-12-02 16:22:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.2756ms [2025-12-02 16:22:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-12-02 16:22:46 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-12-02 16:22:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.1202ms [2025-12-02 16:22:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-12-02 16:22:46 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-12-02 16:22:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.1986ms [2025-12-02 17:00:52 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-12-02 17:00:52 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-12-02 17:00:52 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.2986ms [2025-12-02 17:00:52 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-12-02 17:00:52 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-12-02 17:00:52 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.1186ms [2025-12-02 17:00:52 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-12-02 17:00:52 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-12-02 17:00:52 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.1158ms [2025-12-02 17:00:52 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-12-02 17:00:52 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-12-02 17:00:52 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.1613ms [2025-12-02 17:15:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-12-02 17:15:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.1643ms [2025-12-02 17:15:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/favicon.ico - - [2025-12-02 17:15:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/favicon.ico - - - 404 0 - 0.3294ms [2025-12-02 17:16:00 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/favicon.ico - - [2025-12-02 17:16:00 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/favicon.ico - - - 404 0 - 0.2126ms [2025-12-02 18:23:54 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-12-02 18:23:54 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 0.6642ms [2025-12-02 20:48:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=221 - - [2025-12-02 20:48:45 INF] CORS policy execution successful. [2025-12-02 20:48:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=221 - - - 204 - - 0.2054ms [2025-12-02 20:48:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=221 - - [2025-12-02 20:48:45 INF] CORS policy execution successful. [2025-12-02 20:48:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=221 - - - 204 - - 0.1415ms [2025-12-02 20:48:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 20:48:45 INF] CORS policy execution successful. [2025-12-02 20:48:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0692ms [2025-12-02 20:48:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=221 - - [2025-12-02 20:48:45 INF] CORS policy execution successful. [2025-12-02 20:48:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=221 - - - 204 - - 0.0830ms [2025-12-02 20:48:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=221 - - [2025-12-02 20:48:45 INF] CORS policy execution successful. [2025-12-02 20:48:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=221 - - - 204 - - 0.0660ms [2025-12-02 20:48:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=221 - - [2025-12-02 20:48:45 INF] CORS policy execution successful. [2025-12-02 20:48:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=221 - - - 204 - - 0.1014ms [2025-12-02 20:48:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=221 - - [2025-12-02 20:48:45 INF] CORS policy execution successful. [2025-12-02 20:48:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=221 - - - 204 - - 0.1441ms [2025-12-02 20:48:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=221 - - [2025-12-02 20:48:45 INF] CORS policy execution successful. [2025-12-02 20:48:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=221 - - - 204 - - 0.1006ms [2025-12-02 20:48:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=221 - - [2025-12-02 20:48:45 INF] CORS policy execution successful. [2025-12-02 20:48:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=221 - - - 204 - - 0.1352ms [2025-12-02 20:48:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=221 - - [2025-12-02 20:48:45 INF] CORS policy execution successful. [2025-12-02 20:48:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=221 - - - 204 - - 0.0839ms [2025-12-02 20:48:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 20:48:45 INF] CORS policy execution successful. [2025-12-02 20:48:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1612ms [2025-12-02 20:48:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 20:48:45 INF] CORS policy execution successful. [2025-12-02 20:48:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1141ms [2025-12-02 20:48:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 20:48:45 INF] CORS policy execution successful. [2025-12-02 20:48:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0717ms [2025-12-02 21:01:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 21:01:04 INF] CORS policy execution successful. [2025-12-02 21:01:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2307ms [2025-12-02 21:01:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 21:01:04 INF] CORS policy execution successful. [2025-12-02 21:01:04 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 21:01:04 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-12-02 21:01:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01:04 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-12-02 21:01:04 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-12-02 21:01:04 INF] Executed DbCommand (7ms) [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-12-02 21:01:04 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-12-02 21:01:04 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 68.2973ms [2025-12-02 21:01:04 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 21:01:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 68.9903ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - - 204 - - 0.2236ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=340 - - - 204 - - 0.1316ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1069ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=340 - - - 204 - - 0.1000ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=340 - - - 204 - - 0.1067ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=340 - - - 204 - - 0.1185ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=340 - - - 204 - - 0.2488ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=340 - - - 204 - - 0.1094ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=340 - - - 204 - - 0.4101ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - - 204 - - 0.0945ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0929ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1190ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2481ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:01: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-12-02 21:01:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01: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-12-02 21:01:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01:22 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-12-02 21:01: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-12-02 21:01:22 INF] Executed DbCommand (40ms) [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-12-02 21:01:22 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:01:22 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 65.9453ms [2025-12-02 21:01:22 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - - 200 - application/json;+charset=utf-8 66.4604ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Executed DbCommand (4ms) [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-12-02 21:01:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01:22 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-12-02 21:01:22 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-12-02 21:01:22 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-12-02 21:01:22 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 59.5343ms [2025-12-02 21:01:22 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=340 - - - 200 - application/json;+charset=utf-8 62.5871ms [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 74.7192ms [2025-12-02 21:01:22 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=340 - - - 200 - application/json;+charset=utf-8 75.2238ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 56.4354ms [2025-12-02 21:01:22 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=340 - - - 200 - application/json;+charset=utf-8 56.8970ms [2025-12-02 21:01:22 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-12-02 21:01:22 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-12-02 21:01:22 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-12-02 21:01:22 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 38.1336ms [2025-12-02 21:01:22 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=340 - - - 200 - application/json;+charset=utf-8 38.8285ms [2025-12-02 21:01: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-12-02 21:01:22 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-12-02 21:01:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=340 - - [2025-12-02 21:01:22 INF] Executed DbCommand (11ms) [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-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01: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-12-02 21:01:22 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-12-02 21:01:22 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-12-02 21:01:22 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 21.6979ms [2025-12-02 21:01:22 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=340 - - - 200 - application/json;+charset=utf-8 22.1326ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 21:01: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-12-02 21:01:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 67.4558ms [2025-12-02 21:01:22 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=340 - - - 200 - application/json;+charset=utf-8 67.8322ms [2025-12-02 21:01:22 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 171.6782ms [2025-12-02 21:01:22 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 172.2692ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 21:01:22 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-12-02 21:01: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-12-02 21:01:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 182.1558ms [2025-12-02 21:01:22 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=340 - - - 200 - application/json;+charset=utf-8 182.5617ms [2025-12-02 21:01:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - [2025-12-02 21:01:22 INF] CORS policy execution successful. [2025-12-02 21:01:22 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:01: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-12-02 21:01:22 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-12-02 21:01:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 30.1169ms [2025-12-02 21:01:22 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 30.7768ms [2025-12-02 21:01:22 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-12-02 21:01:22 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-12-02 21:01: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-12-02 21:01:22 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-12-02 21:01:22 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 46.5125ms [2025-12-02 21:01:22 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 21:01:22 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-12-02 21:01:22 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-12-02 21:01:22 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 33.0692ms [2025-12-02 21:01:22 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 34.7982ms [2025-12-02 21:01: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-12-02 21:01:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 47.3975ms [2025-12-02 21:01:22 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-12-02 21:01:22 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:01:22 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 34.0952ms [2025-12-02 21:01:22 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:01:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - - 200 - application/json;+charset=utf-8 34.4444ms [2025-12-02 21:01:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=290 - - [2025-12-02 21:01:33 INF] CORS policy execution successful. [2025-12-02 21:01:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=290 - - - 204 - - 0.3014ms [2025-12-02 21:01:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=290 - - [2025-12-02 21:01:33 INF] CORS policy execution successful. [2025-12-02 21:01:33 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 21:01:33 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-12-02 21:01:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01:33 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-12-02 21:01:33 INF] Executed DbCommand (7ms) [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-12-02 21:01:33 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-12-02 21:01:33 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 37.8175ms [2025-12-02 21:01:33 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 21:01:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=290 - - - 200 - application/json;+charset=utf-8 38.3437ms [2025-12-02 21:01:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/create - - [2025-12-02 21:01:48 INF] CORS policy execution successful. [2025-12-02 21:01:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/create - - - 204 - - 0.2387ms [2025-12-02 21:01:48 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/rentalContract/create multipart/form-data;+boundary=----WebKitFormBoundary5s65bPTPHhhp5vRL 944450 [2025-12-02 21:01:48 INF] CORS policy execution successful. [2025-12-02 21:01:48 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Create (Web)' [2025-12-02 21:01:48 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-12-02 21:01:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01:48 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-12-02 21:01:49 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-12-02 21:01:49 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 21:01:49 INF] Executed action Web.Controllers.API.RentalContractController.Create (Web) in 258.3674ms [2025-12-02 21:01:49 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Create (Web)' [2025-12-02 21:01:49 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/rentalContract/create multipart/form-data;+boundary=----WebKitFormBoundary5s65bPTPHhhp5vRL 944450 - 200 0 - 262.4415ms [2025-12-02 21:01:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=340 - - [2025-12-02 21:01:49 INF] CORS policy execution successful. [2025-12-02 21:01:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=340 - - - 204 - - 0.2244ms [2025-12-02 21:01:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=340 - - [2025-12-02 21:01:49 INF] CORS policy execution successful. [2025-12-02 21:01:49 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:01:49 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-12-02 21:01:49 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:01:49 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-12-02 21:01:49 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-12-02 21:01:49 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-12-02 21:01:49 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 38.3542ms [2025-12-02 21:01:49 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:01:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=340 - - - 200 - application/json;+charset=utf-8 38.9773ms [2025-12-02 21:02:44 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1695 - - [2025-12-02 21:02:44 INF] CORS policy execution successful. [2025-12-02 21:02:44 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1695 - - - 204 - - 0.3180ms [2025-12-02 21:02:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1695 - - [2025-12-02 21:02:44 INF] CORS policy execution successful. [2025-12-02 21:02:44 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 21:02:44 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-12-02 21:02:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:02: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-12-02 21:02:44 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-12-02 21:02:44 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-12-02 21:02:44 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 24.9451ms [2025-12-02 21:02:44 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 21:02:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1695 - - - 200 - application/json;+charset=utf-8 25.5296ms [2025-12-02 21:02:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-12-02 21:02:51 INF] CORS policy execution successful. [2025-12-02 21:02:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2666ms [2025-12-02 21:02:51 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundary76NMF1Xc845zh5tR 1136 [2025-12-02 21:02:51 INF] CORS policy execution successful. [2025-12-02 21:02:51 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 21:02:51 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-12-02 21:02:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:02: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-12-02 21:02:51 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-12-02 21:02:51 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-12-02 21:02:51 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 21:02:51 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 16.0099ms [2025-12-02 21:02:51 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 21:02:51 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundary76NMF1Xc845zh5tR 1136 - 200 0 - 16.5363ms [2025-12-02 21:02:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - [2025-12-02 21:02:51 INF] CORS policy execution successful. [2025-12-02 21:02:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - - 204 - - 0.1802ms [2025-12-02 21:02:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - [2025-12-02 21:02:51 INF] CORS policy execution successful. [2025-12-02 21:02:51 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:02: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-12-02 21:02:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:02:51 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-12-02 21:02:51 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-12-02 21:02:51 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:02:51 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 15.5466ms [2025-12-02 21:02:51 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:02:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - - 200 - application/json;+charset=utf-8 16.1218ms [2025-12-02 21:02:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1700 - - [2025-12-02 21:02:55 INF] CORS policy execution successful. [2025-12-02 21:02:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1700 - - - 204 - - 0.2053ms [2025-12-02 21:02:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1700 - - [2025-12-02 21:02:55 INF] CORS policy execution successful. [2025-12-02 21:02:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 21:02:55 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-12-02 21:02:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:02:55 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-12-02 21:02:55 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-12-02 21:02:55 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-12-02 21:02:55 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 20.2273ms [2025-12-02 21:02:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 21:02:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1700 - - - 200 - application/json;+charset=utf-8 20.7723ms [2025-12-02 21:02:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-12-02 21:02:59 INF] CORS policy execution successful. [2025-12-02 21:02:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2398ms [2025-12-02 21:02:59 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundarypo2DMYoBKByZODVD 1144 [2025-12-02 21:02:59 INF] CORS policy execution successful. [2025-12-02 21:02:59 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 21:02:59 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-12-02 21:02:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:02:59 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-12-02 21:02:59 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-12-02 21:02:59 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-12-02 21:02:59 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 21:02:59 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 24.7281ms [2025-12-02 21:02:59 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 21:02:59 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundarypo2DMYoBKByZODVD 1144 - 200 0 - 25.3737ms [2025-12-02 21:02:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - [2025-12-02 21:02:59 INF] CORS policy execution successful. [2025-12-02 21:02:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - - 204 - - 0.1971ms [2025-12-02 21:03:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - [2025-12-02 21:03:00 INF] CORS policy execution successful. [2025-12-02 21:03:00 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:03:00 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-12-02 21:03:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:03:00 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-12-02 21:03:00 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-12-02 21:03:00 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:03:00 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 22.5946ms [2025-12-02 21:03:00 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:03:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - - 200 - application/json;+charset=utf-8 23.3553ms [2025-12-02 21:03:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1700 - - [2025-12-02 21:03:05 INF] CORS policy execution successful. [2025-12-02 21:03:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1700 - - - 204 - - 0.2083ms [2025-12-02 21:03:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1700 - - [2025-12-02 21:03:06 INF] CORS policy execution successful. [2025-12-02 21:03:06 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 21:03:06 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-12-02 21:03:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:03:06 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-12-02 21:03:06 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-12-02 21:03:06 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-12-02 21:03:06 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 19.8264ms [2025-12-02 21:03:06 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 21:03:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1700 - - - 200 - application/json;+charset=utf-8 20.5370ms [2025-12-02 21:03:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-12-02 21:03:08 INF] CORS policy execution successful. [2025-12-02 21:03:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2211ms [2025-12-02 21:03:08 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryenk2KJ9Sg6ToPeHN 1154 [2025-12-02 21:03:08 INF] CORS policy execution successful. [2025-12-02 21:03:08 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 21:03:08 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-12-02 21:03:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:03:08 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-12-02 21:03:08 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-12-02 21:03:08 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-12-02 21:03:08 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 21:03:08 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 17.8759ms [2025-12-02 21:03:08 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 21:03:08 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryenk2KJ9Sg6ToPeHN 1154 - 200 0 - 18.4899ms [2025-12-02 21:03:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - [2025-12-02 21:03:08 INF] CORS policy execution successful. [2025-12-02 21:03:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - - 204 - - 0.1931ms [2025-12-02 21:03:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - [2025-12-02 21:03:08 INF] CORS policy execution successful. [2025-12-02 21:03:08 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:03:08 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-12-02 21:03:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:03: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-12-02 21:03:08 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-12-02 21:03:08 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:03:08 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 17.2861ms [2025-12-02 21:03:08 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:03:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - - 200 - application/json;+charset=utf-8 17.7935ms [2025-12-02 21:03:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1700 - - [2025-12-02 21:03:11 INF] CORS policy execution successful. [2025-12-02 21:03:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1700 - - - 204 - - 1.5433ms [2025-12-02 21:03:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1700 - - [2025-12-02 21:03:11 INF] CORS policy execution successful. [2025-12-02 21:03:11 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 21:03:11 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-12-02 21:03:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:03:11 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-12-02 21:03:11 INF] Executed DbCommand (0ms) [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-12-02 21:03:11 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-12-02 21:03:11 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 23.0488ms [2025-12-02 21:03:11 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-12-02 21:03:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1700 - - - 200 - application/json;+charset=utf-8 23.6506ms [2025-12-02 21:03:14 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-12-02 21:03:14 INF] CORS policy execution successful. [2025-12-02 21:03:14 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2429ms [2025-12-02 21:03:14 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryDoe7LdYT0loTqrsI 1153 [2025-12-02 21:03:14 INF] CORS policy execution successful. [2025-12-02 21:03:14 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 21:03:14 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-12-02 21:03:14 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:03:14 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-12-02 21:03:14 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-12-02 21:03:14 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-12-02 21:03:14 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-12-02 21:03:14 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-12-02 21:03:14 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", 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-12-02 21:03:18 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 21:03:18 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 3645.8521ms [2025-12-02 21:03:18 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-12-02 21:03:18 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryDoe7LdYT0loTqrsI 1153 - 200 0 - 3646.4519ms [2025-12-02 21:03:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - [2025-12-02 21:03:18 INF] CORS policy execution successful. [2025-12-02 21:03:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - - 204 - - 0.2431ms [2025-12-02 21:03:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - [2025-12-02 21:03:18 INF] CORS policy execution successful. [2025-12-02 21:03:18 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:03:18 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-12-02 21:03:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:03:18 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-12-02 21:03:18 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-12-02 21:03:18 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:03:18 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 16.8602ms [2025-12-02 21:03:18 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:03:18 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=340 - - - 200 - application/json;+charset=utf-8 17.3576ms [2025-12-02 21:05:14 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 21:05:14 INF] CORS policy execution successful. [2025-12-02 21:05:14 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2016ms [2025-12-02 21:05:14 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 21:05:14 INF] CORS policy execution successful. [2025-12-02 21:05:14 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 21:05:14 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-12-02 21:05:14 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:05:14 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-12-02 21:05:14 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-12-02 21:05:14 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-12-02 21:05:14 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-12-02 21:05:14 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 58.8663ms [2025-12-02 21:05:14 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 21:05:14 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 59.5380ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.4551ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=15 - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=15 - - - 204 - - 0.4311ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=15 - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=15 - - - 204 - - 0.1966ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=15 - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=15 - - - 204 - - 0.0649ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0600ms [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - - 204 - - 0.1778ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2163ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=15 - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=15 - - - 204 - - 0.1235ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=15 - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=15 - - - 204 - - 0.1050ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1307ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - - 204 - - 0.1035ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=15 - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=15 - - - 204 - - 0.1033ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=15 - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=15 - - - 204 - - 0.1890ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 21:20:32 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-12-02 21:20:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:20: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-12-02 21:20:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=15 - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:20: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-12-02 21:20:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:20: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-12-02 21:20: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-12-02 21:20: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-12-02 21:20:32 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 29.9635ms [2025-12-02 21:20:32 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 30.4932ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=15 - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 21:20:32 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-12-02 21:20:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:20: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-12-02 21:20:32 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-12-02 21:20:32 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-12-02 21:20:32 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 14.9071ms [2025-12-02 21:20:32 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 15.4394ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:20:32 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-12-02 21:20:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:20: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-12-02 21:20:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=15 - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:20:32 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-12-02 21:20:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:20: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-12-02 21:20:32 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-12-02 21:20:32 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-12-02 21:20:32 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 46.3103ms [2025-12-02 21:20:32 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 46.8069ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 21:20:32 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-12-02 21:20:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:20: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-12-02 21:20:32 INF] Executed DbCommand (122ms) [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-12-02 21:20:32 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-12-02 21:20:32 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 143.3029ms [2025-12-02 21:20:32 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 143.7885ms [2025-12-02 21:20:32 INF] Executed DbCommand (67ms) [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-12-02 21:20:32 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:20:32 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 80.3489ms [2025-12-02 21:20:32 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - - 200 - application/json;+charset=utf-8 80.7506ms [2025-12-02 21:20:32 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-12-02 21:20:32 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-12-02 21:20:32 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 20.2979ms [2025-12-02 21:20:32 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 21:20:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 20.7812ms [2025-12-02 21:20:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=15 - - [2025-12-02 21:20:32 INF] CORS policy execution successful. [2025-12-02 21:20:32 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 21:20:32 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-12-02 21:20:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:20: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-12-02 21:20:32 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-12-02 21:20:33 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-12-02 21:20:33 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 81.4104ms [2025-12-02 21:20:33 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 21:20:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=15 - - - 200 - application/json;+charset=utf-8 81.9924ms [2025-12-02 21:20:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 21:20:33 INF] CORS policy execution successful. [2025-12-02 21:20:33 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 21:20:33 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-12-02 21:20:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:20:33 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-12-02 21:20:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=15 - - [2025-12-02 21:20:33 INF] CORS policy execution successful. [2025-12-02 21:20:33 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 21:20:33 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-12-02 21:20:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:20:33 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-12-02 21:20:33 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-12-02 21:20:33 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-12-02 21:20:33 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 16.719ms [2025-12-02 21:20:33 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 21:20:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 17.3984ms [2025-12-02 21:20:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 21:20:33 INF] CORS policy execution successful. [2025-12-02 21:20:33 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 21:20:33 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-12-02 21:20:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:20:33 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-12-02 21:20:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=15 - - [2025-12-02 21:20:33 INF] CORS policy execution successful. [2025-12-02 21:20:33 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 21:20:33 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-12-02 21:20:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:20:33 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-12-02 21:20:33 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 21:20:33 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-12-02 21:20:33 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 13.7403ms [2025-12-02 21:20:33 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 21:20:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 14.2250ms [2025-12-02 21:20:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=15 - - [2025-12-02 21:20:33 INF] CORS policy execution successful. [2025-12-02 21:20:33 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 21:20:33 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-12-02 21:20:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:20:33 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-12-02 21:20:33 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-12-02 21:20:33 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-12-02 21:20:33 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 15.5222ms [2025-12-02 21:20:33 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 21:20:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 15.9266ms [2025-12-02 21:20:33 INF] Executed DbCommand (31ms) [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-12-02 21:20:33 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-12-02 21:20:33 INF] Executed DbCommand (88ms) [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-12-02 21:20:33 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-12-02 21:20:33 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 111.6848ms [2025-12-02 21:20:33 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 21:20:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 112.2156ms [2025-12-02 21:20:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - [2025-12-02 21:20:33 INF] CORS policy execution successful. [2025-12-02 21:20:33 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:20:33 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-12-02 21:20:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:20:33 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-12-02 21:20:33 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-12-02 21:20:33 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:20:33 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 18.6942ms [2025-12-02 21:20:33 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:20:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - - 200 - application/json;+charset=utf-8 19.2528ms [2025-12-02 21:20:33 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 97.412ms [2025-12-02 21:20:33 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 21:20:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 97.9542ms [2025-12-02 21:21:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - [2025-12-02 21:21:00 INF] CORS policy execution successful. [2025-12-02 21:21:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - - 204 - - 0.2137ms [2025-12-02 21:21:00 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundaryxBNYxAdNZpKFBQGx 116443 [2025-12-02 21:21:00 INF] CORS policy execution successful. [2025-12-02 21:21:00 INF] Executing endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-12-02 21:21:00 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-12-02 21:21:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:21: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-12-02 21:21:00 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-12-02 21:21:00 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 21:21:00 INF] Executed action Web.Controllers.API.AgreementController.Create (Web) in 199.9644ms [2025-12-02 21:21:00 INF] Executed endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-12-02 21:21:00 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundaryxBNYxAdNZpKFBQGx 116443 - 200 0 - 201.5069ms [2025-12-02 21:21:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=15 - - [2025-12-02 21:21:00 INF] CORS policy execution successful. [2025-12-02 21:21:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=15 - - - 204 - - 0.1263ms [2025-12-02 21:21:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=15 - - [2025-12-02 21:21:00 INF] CORS policy execution successful. [2025-12-02 21:21:00 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:21:00 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-12-02 21:21:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:21: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-12-02 21:21:00 INF] Executed DbCommand (0ms) [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-12-02 21:21:00 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-12-02 21:21:00 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 16.9109ms [2025-12-02 21:21:00 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:21:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 17.3273ms [2025-12-02 21:21:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=17 - - [2025-12-02 21:21:04 INF] CORS policy execution successful. [2025-12-02 21:21:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=17 - - - 204 - - 0.2345ms [2025-12-02 21:21:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=17 - - [2025-12-02 21:21:04 INF] CORS policy execution successful. [2025-12-02 21:21:04 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 21:21:04 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-12-02 21:21:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:21:04 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-12-02 21:21:04 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-12-02 21:21:04 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-12-02 21:21:04 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 30.658ms [2025-12-02 21:21:04 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 21:21:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=17 - - - 200 - application/json;+charset=utf-8 31.1902ms [2025-12-02 21:21:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - [2025-12-02 21:21:07 INF] CORS policy execution successful. [2025-12-02 21:21:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - - 204 - - 0.2148ms [2025-12-02 21:21:07 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryjX6I7XzTrvqql8Qf 829 [2025-12-02 21:21:07 INF] CORS policy execution successful. [2025-12-02 21:21:07 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-12-02 21:21:07 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-12-02 21:21:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:21:07 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-12-02 21:21:07 INF] Executed DbCommand (0ms) [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-12-02 21:21:07 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-12-02 21:21:07 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 21:21:07 INF] Executed action Web.Controllers.API.RentalContractController.Update (Web) in 17.5632ms [2025-12-02 21:21:07 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-12-02 21:21:07 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryjX6I7XzTrvqql8Qf 829 - 200 0 - 18.1460ms [2025-12-02 21:21:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=15 - - [2025-12-02 21:21:07 INF] CORS policy execution successful. [2025-12-02 21:21:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=15 - - - 204 - - 0.2373ms [2025-12-02 21:21:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=15 - - [2025-12-02 21:21:07 INF] CORS policy execution successful. [2025-12-02 21:21:07 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:21:07 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-12-02 21:21:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:21:07 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-12-02 21:21:07 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-12-02 21:21:07 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-12-02 21:21:07 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 35.1997ms [2025-12-02 21:21:07 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:21:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 35.7708ms [2025-12-02 21:23:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 21:23:02 INF] CORS policy execution successful. [2025-12-02 21:23:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2068ms [2025-12-02 21:23:02 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 21:23:02 INF] CORS policy execution successful. [2025-12-02 21:23:02 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 21:23:02 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-12-02 21:23:02 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23: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-12-02 21:23:02 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-12-02 21:23:02 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-12-02 21:23:02 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-12-02 21:23:02 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 62.3349ms [2025-12-02 21:23:02 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 21:23:02 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 62.9101ms [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=18 - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=18 - - - 204 - - 0.2927ms [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=18 - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=18 - - - 204 - - 0.1642ms [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=18 - - [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=18 - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=18 - - - 204 - - 0.2480ms [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=18 - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=18 - - - 204 - - 0.0730ms [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=18 - - [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=18 - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=18 - - - 204 - - 0.1080ms [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=18 - - - 204 - - 0.1570ms [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=18 - - - 204 - - 0.0574ms [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.9322ms [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=18 - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=18 - - - 204 - - 0.2105ms [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=18 - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=18 - - - 204 - - 0.0942ms [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0864ms [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0888ms [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0783ms [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=18 - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=18 - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=18 - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=18 - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=18 - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=18 - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:05 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-12-02 21:23:05 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-12-02 21:23:05 INF] Executed DbCommand (9ms) [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-12-02 21:23:05 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-12-02 21:23:05 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 49.0556ms [2025-12-02 21:23:05 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=18 - - - 200 - application/json;+charset=utf-8 52.0137ms [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Executed DbCommand (17ms) [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-12-02 21:23:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=18 - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:05 INF] Executed DbCommand (12ms) [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-12-02 21:23: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-12-02 21:23:05 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 71.9413ms [2025-12-02 21:23:05 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=18 - - - 200 - application/json;+charset=utf-8 72.7167ms [2025-12-02 21:23:05 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-12-02 21:23:05 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-12-02 21:23:05 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-12-02 21:23:05 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-12-02 21:23:05 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 99.0468ms [2025-12-02 21:23:05 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=18 - - - 200 - application/json;+charset=utf-8 99.5041ms [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:23:05 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 111.8195ms [2025-12-02 21:23:05 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=18 - - - 200 - application/json;+charset=utf-8 112.5321ms [2025-12-02 21:23:05 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 107.2387ms [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=18 - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23: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-12-02 21:23:05 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:23:05 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-12-02 21:23:05 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-12-02 21:23:05 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 51.5364ms [2025-12-02 21:23:05 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=18 - - - 200 - application/json;+charset=utf-8 52.6436ms [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=18 - - - 200 - application/json;+charset=utf-8 114.8027ms [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:05 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-12-02 21:23:05 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-12-02 21:23:05 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-12-02 21:23:05 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 30.273ms [2025-12-02 21:23:05 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=18 - - - 200 - application/json;+charset=utf-8 31.5667ms [2025-12-02 21:23:05 INF] Executed DbCommand (20ms) [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-12-02 21:23:05 INF] Executed DbCommand (9ms) [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-12-02 21:23:05 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-12-02 21:23:05 INF] Executed DbCommand (12ms) [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-12-02 21:23:05 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", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 35.418ms [2025-12-02 21:23:05 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 35.9222ms [2025-12-02 21:23:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=18 - - [2025-12-02 21:23:05 INF] CORS policy execution successful. [2025-12-02 21:23:05 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:05 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-12-02 21:23:05 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-12-02 21:23:05 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-12-02 21:23:05 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", 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-12-02 21:23:05 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 52.9002ms [2025-12-02 21:23:05 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 53.4490ms [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 62.619ms [2025-12-02 21:23:05 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 62.9800ms [2025-12-02 21:23:05 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-12-02 21:23:05 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-12-02 21:23:05 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:23:05 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 31.7197ms [2025-12-02 21:23:05 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=18 - - - 200 - application/json;+charset=utf-8 32.3910ms [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 193.5846ms [2025-12-02 21:23:05 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=18 - - - 200 - application/json;+charset=utf-8 194.2928ms [2025-12-02 21:23:05 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-12-02 21:23:05 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 100.6336ms [2025-12-02 21:23:05 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 21:23:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 101.3704ms [2025-12-02 21:23:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 21:23:06 INF] CORS policy execution successful. [2025-12-02 21:23:06 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 21:23:06 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-12-02 21:23:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23: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-12-02 21:23:06 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-12-02 21:23:06 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-12-02 21:23:06 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-12-02 21:23:06 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 53.8044ms [2025-12-02 21:23:06 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 21:23:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 54.4181ms [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=185 - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=185 - - - 204 - - 0.1955ms [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=185 - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=185 - - - 204 - - 0.2186ms [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1185ms [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=185 - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=185 - - - 204 - - 0.1037ms [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=185 - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=185 - - - 204 - - 0.1562ms [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=185 - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=185 - - - 204 - - 0.0879ms [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=185 - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=185 - - - 204 - - 0.1724ms [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=185 - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=185 - - - 204 - - 0.0942ms [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=185 - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=185 - - - 204 - - 0.0975ms [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=185 - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=185 - - - 204 - - 0.0966ms [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0921ms [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0924ms [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2131ms [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=185 - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:23:10 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-12-02 21:23:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:10 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-12-02 21:23:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=185 - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 21:23:10 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-12-02 21:23:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:10 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-12-02 21:23:10 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-12-02 21:23:10 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-12-02 21:23:10 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 61.3637ms [2025-12-02 21:23:10 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 21:23:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=185 - - - 200 - application/json;+charset=utf-8 61.7590ms [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=185 - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 21:23:10 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 21:23:10 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-12-02 21:23:10 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-12-02 21:23:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=185 - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 21:23:10 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-12-02 21:23:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:10 INF] Executed DbCommand (64ms) [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-12-02 21:23:10 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:23:10 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 78.7382ms [2025-12-02 21:23:10 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:23:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=185 - - - 200 - application/json;+charset=utf-8 80.0064ms [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=185 - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 21:23:10 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-12-02 21:23:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 21:23:10 INF] CORS policy execution successful. [2025-12-02 21:23:10 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 21:23:10 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-12-02 21:23:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:10 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-12-02 21:23:10 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-12-02 21:23:10 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-12-02 21:23:11 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-12-02 21:23:11 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 21:23:11 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-12-02 21:23:11 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 45.3189ms [2025-12-02 21:23:11 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 21:23:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=185 - - - 200 - application/json;+charset=utf-8 45.6072ms [2025-12-02 21:23:11 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", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-12-02 21:23:11 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-12-02 21:23:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 21:23:11 INF] CORS policy execution successful. [2025-12-02 21:23:11 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 21:23:11 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-12-02 21:23:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:11 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-12-02 21:23:11 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-12-02 21:23:11 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-12-02 21:23:11 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 60.1501ms [2025-12-02 21:23:11 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 21:23:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=185 - - - 200 - application/json;+charset=utf-8 60.5402ms [2025-12-02 21:23:11 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-12-02 21:23:11 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-12-02 21:23:11 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 48.3796ms [2025-12-02 21:23:11 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 21:23:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=185 - - - 200 - application/json;+charset=utf-8 49.1448ms [2025-12-02 21:23:11 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-12-02 21:23:11 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 50.7214ms [2025-12-02 21:23:11 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 21:23:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 51.4467ms [2025-12-02 21:23:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=185 - - [2025-12-02 21:23:11 INF] CORS policy execution successful. [2025-12-02 21:23:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=185 - - [2025-12-02 21:23:11 INF] CORS policy execution successful. [2025-12-02 21:23:11 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:23:11 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-12-02 21:23:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:11 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:23:11 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-12-02 21:23:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:11 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-12-02 21:23:11 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", 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-12-02 21:23:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 21:23:11 INF] CORS policy execution successful. [2025-12-02 21:23:11 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 21:23:11 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-12-02 21:23:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:11 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-12-02 21:23:11 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-12-02 21:23:11 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 42.7126ms [2025-12-02 21:23:11 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 21:23:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 43.1828ms [2025-12-02 21:23:11 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 104.5778ms [2025-12-02 21:23:11 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 21:23:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 104.9877ms [2025-12-02 21:23:11 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-12-02 21:23:11 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-12-02 21:23:11 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-12-02 21:23:11 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-12-02 21:23:11 INF] Executed DbCommand (5ms) [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-12-02 21:23:11 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-12-02 21:23:11 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-12-02 21:23:11 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 24.5684ms [2025-12-02 21:23:11 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 21:23:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 25.0031ms [2025-12-02 21:23:11 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-12-02 21:23:11 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 43.6302ms [2025-12-02 21:23:11 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:23:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=185 - - - 200 - application/json;+charset=utf-8 43.9680ms [2025-12-02 21:23:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=185 - - [2025-12-02 21:23:11 INF] CORS policy execution successful. [2025-12-02 21:23:11 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:23:11 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-12-02 21:23:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:11 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-12-02 21:23:11 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 50.2487ms [2025-12-02 21:23:11 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:23:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=185 - - - 200 - application/json;+charset=utf-8 54.8325ms [2025-12-02 21:23:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=185 - - [2025-12-02 21:23:11 INF] CORS policy execution successful. [2025-12-02 21:23:11 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 21:23:11 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-12-02 21:23:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:11 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-12-02 21:23:11 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-12-02 21:23:11 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:23:11 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 22.0356ms [2025-12-02 21:23:11 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:23:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=185 - - - 200 - application/json;+charset=utf-8 22.7750ms [2025-12-02 21:23:11 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-12-02 21:23:11 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-12-02 21:23:11 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-12-02 21:23:11 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 15.591ms [2025-12-02 21:23:11 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 21:23:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=185 - - - 200 - application/json;+charset=utf-8 16.0909ms [2025-12-02 21:23:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=673 - - [2025-12-02 21:23:19 INF] CORS policy execution successful. [2025-12-02 21:23:19 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=673 - - - 204 - - 0.2301ms [2025-12-02 21:23:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=673 - - [2025-12-02 21:23:19 INF] CORS policy execution successful. [2025-12-02 21:23:19 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 21:23:19 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-12-02 21:23:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:19 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-12-02 21:23:19 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-12-02 21:23:19 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-12-02 21:23:19 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 14.5547ms [2025-12-02 21:23:19 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 21:23:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=673 - - - 200 - application/json;+charset=utf-8 15.1085ms [2025-12-02 21:23:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=bonifacego79_12_220_protok%C3%B3%C5%82%20wej%C5%9Bcia%2024.10.2024.pdf&id=673 - - [2025-12-02 21:23:20 INF] CORS policy execution successful. [2025-12-02 21:23:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=bonifacego79_12_220_protok%C3%B3%C5%82%20wej%C5%9Bcia%2024.10.2024.pdf&id=673 - - - 204 - - 0.1934ms [2025-12-02 21:23:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=bonifacego79_12_220_protok%C3%B3%C5%82%20wej%C5%9Bcia%2024.10.2024.pdf&id=673 - - [2025-12-02 21:23:20 INF] CORS policy execution successful. [2025-12-02 21:23:20 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 21:23:20 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-12-02 21:23:20 INF] Executing FileContentResult, sending file with download name '' ... [2025-12-02 21:23:20 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 4.1395ms [2025-12-02 21:23:20 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 21:23:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=bonifacego79_12_220_protok%C3%B3%C5%82%20wej%C5%9Bcia%2024.10.2024.pdf&id=673 - - - 200 368503 application/pdf 4.6886ms [2025-12-02 21:23:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - [2025-12-02 21:23:48 INF] CORS policy execution successful. [2025-12-02 21:23:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - - 204 - - 0.2561ms [2025-12-02 21:23:48 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundary5FqSgByusriAsGYK 193415 [2025-12-02 21:23:48 INF] CORS policy execution successful. [2025-12-02 21:23:48 INF] Executing endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-12-02 21:23:48 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-12-02 21:23:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23:48 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-12-02 21:23:48 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-12-02 21:23:48 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 21:23:48 INF] Executed action Web.Controllers.API.AgreementController.Create (Web) in 53.6781ms [2025-12-02 21:23:48 INF] Executed endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-12-02 21:23:48 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundary5FqSgByusriAsGYK 193415 - 200 0 - 55.4828ms [2025-12-02 21:23:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=185 - - [2025-12-02 21:23:48 INF] CORS policy execution successful. [2025-12-02 21:23:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=185 - - - 204 - - 0.1891ms [2025-12-02 21:23:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=185 - - [2025-12-02 21:23:48 INF] CORS policy execution successful. [2025-12-02 21:23:48 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:23:48 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-12-02 21:23:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:23: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-12-02 21:23:48 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-12-02 21:23:48 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-12-02 21:23:48 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 14.0074ms [2025-12-02 21:23:48 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:23:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=185 - - - 200 - application/json;+charset=utf-8 14.4534ms [2025-12-02 21:33:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 21:33:51 INF] CORS policy execution successful. [2025-12-02 21:33:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2432ms [2025-12-02 21:33:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 21:33:51 INF] CORS policy execution successful. [2025-12-02 21:33:51 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 21:33:51 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-12-02 21:33:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:33: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-12-02 21:33:52 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-12-02 21:33:52 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-12-02 21:33: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-12-02 21:33:52 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 64.6627ms [2025-12-02 21:33:52 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 21:33:52 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 65.2527ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 204 - - 0.2433ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=206 - - - 204 - - 0.1996ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2239ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=206 - - - 204 - - 0.1355ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=206 - - - 204 - - 0.0894ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=206 - - - 204 - - 0.0986ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=206 - - - 204 - - 0.3008ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - - 204 - - 0.1040ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=206 - - - 204 - - 0.1838ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 204 - - 0.1105ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0908ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.2197ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0903ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:33:55 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-12-02 21:33:55 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-12-02 21:33:55 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-12-02 21:33:55 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 62.702ms [2025-12-02 21:33:55 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=206 - - - 200 - application/json;+charset=utf-8 63.1355ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:33:55 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-12-02 21:33:55 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-12-02 21:33:55 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-12-02 21:33:55 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 26.2898ms [2025-12-02 21:33:55 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 26.8593ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 13.1794ms [2025-12-02 21:33:55 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 13.6894ms [2025-12-02 21:33:55 INF] Executed DbCommand (117ms) [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-12-02 21:33:55 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:33:55 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 130.375ms [2025-12-02 21:33:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 200 - application/json;+charset=utf-8 130.9433ms [2025-12-02 21:33:55 INF] Executed DbCommand (42ms) [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-12-02 21:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 21.9993ms [2025-12-02 21:33:55 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 22.5952ms [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:33:55 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 108.3145ms [2025-12-02 21:33:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 109.7354ms [2025-12-02 21:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Executed DbCommand (7ms) [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-12-02 21:33:55 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-12-02 21:33:55 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-12-02 21:33:55 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-12-02 21:33:55 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 45.2215ms [2025-12-02 21:33:55 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 54.1809ms [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - [2025-12-02 21:33:55 INF] CORS policy execution successful. [2025-12-02 21:33:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:33:55 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-12-02 21:33:55 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-12-02 21:33:55 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-12-02 21:33:55 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 69.2844ms [2025-12-02 21:33:55 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 69.8993ms [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 75.5771ms [2025-12-02 21:33:55 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 82.4670ms [2025-12-02 21:33:55 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-12-02 21:33:55 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-12-02 21:33:55 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-12-02 21:33:55 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 55.1644ms [2025-12-02 21:33:55 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=206 - - - 200 - application/json;+charset=utf-8 55.8775ms [2025-12-02 21:33:55 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-12-02 21:33:55 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-12-02 21:33:55 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-12-02 21:33:55 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-12-02 21:33:55 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:33:55 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 31.2615ms [2025-12-02 21:33:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=206 - - - 200 - application/json;+charset=utf-8 31.7550ms [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 85.5424ms [2025-12-02 21:33:55 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 92.2034ms [2025-12-02 21:33:55 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-12-02 21:33:55 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 38.0756ms [2025-12-02 21:33:55 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 21:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 38.4794ms [2025-12-02 21:34:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 21:34:11 INF] CORS policy execution successful. [2025-12-02 21:34:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.1947ms [2025-12-02 21:34:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 21:34:11 INF] CORS policy execution successful. [2025-12-02 21:34:11 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 21:34:11 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-12-02 21:34:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:34:11 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-12-02 21:34:11 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-12-02 21:34:12 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-12-02 21:34:12 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-12-02 21:34:12 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 61.6831ms [2025-12-02 21:34:12 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 21:34:12 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 62.2726ms [2025-12-02 21:38:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-12-02 21:38:22 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-12-02 21:38:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.2547ms [2025-12-02 21:38:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-12-02 21:38:22 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-12-02 21:38:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 4.2773ms [2025-12-02 21:38:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-12-02 21:38:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-12-02 21:38:22 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-12-02 21:38:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.1478ms [2025-12-02 21:38:22 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-12-02 21:38:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.1795ms [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=306 - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=306 - - - 204 - - 0.2215ms [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=306 - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=306 - - - 204 - - 0.1151ms [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=306 - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=306 - - - 204 - - 0.1041ms [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1219ms [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1152ms [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=306 - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=306 - - - 204 - - 0.0916ms [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.3317ms [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=306 - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=306 - - - 204 - - 0.1013ms [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=306 - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=306 - - - 204 - - 0.0600ms [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=306 - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=306 - - - 204 - - 0.2339ms [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0648ms [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=306 - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=306 - - - 204 - - 0.0736ms [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=306 - - [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=306 - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=306 - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=306 - - - 204 - - 0.5542ms [2025-12-02 21:49:55 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:49:55 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-12-02 21:49:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:49:55 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 21:49:55 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-12-02 21:49:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=306 - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:49:55 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-12-02 21:49:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:49:55 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-12-02 21:49:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:49:55 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 21:49:55 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-12-02 21:49:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:49:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=306 - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 21:49:55 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-12-02 21:49:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:49:55 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-12-02 21:49:55 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-12-02 21:49:55 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-12-02 21:49:55 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-12-02 21:49:55 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 58.8998ms [2025-12-02 21:49:55 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 59.4369ms [2025-12-02 21:49:55 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-12-02 21:49:55 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-12-02 21:49:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=306 - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 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-12-02 21:49:55 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 21:49:55 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-12-02 21:49:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:49:55 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:49:55 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 86.9312ms [2025-12-02 21:49:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=306 - - - 200 - application/json;+charset=utf-8 88.0405ms [2025-12-02 21:49:55 INF] Executed DbCommand (13ms) [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-12-02 21:49:55 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-12-02 21:49:55 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 71.7442ms [2025-12-02 21:49:55 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=306 - - - 200 - application/json;+charset=utf-8 72.2926ms [2025-12-02 21:49:55 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-12-02 21:49:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=306 - - [2025-12-02 21:49:55 INF] CORS policy execution successful. [2025-12-02 21:49:55 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 21:49:55 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-12-02 21:49:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:49:55 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-12-02 21:49:55 INF] Executed DbCommand (18ms) [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-12-02 21:49:55 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-12-02 21:49:55 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-12-02 21:49:55 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-12-02 21:49:55 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 110.4339ms [2025-12-02 21:49:55 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 115.9049ms [2025-12-02 21:49:55 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-12-02 21:49:55 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 125.6233ms [2025-12-02 21:49:55 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=306 - - - 200 - application/json;+charset=utf-8 126.1185ms [2025-12-02 21:49:55 INF] Executed DbCommand (3ms) [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-12-02 21:49:55 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-12-02 21:49:55 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 125.1463ms [2025-12-02 21:49:55 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=306 - - - 200 - application/json;+charset=utf-8 127.7773ms [2025-12-02 21:49:55 INF] Executed DbCommand (4ms) [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-12-02 21:49:55 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-12-02 21:49:55 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 21:49:55 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-12-02 21:49:55 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 36.1992ms [2025-12-02 21:49:55 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 21:49:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=306 - - - 200 - application/json;+charset=utf-8 36.6845ms [2025-12-02 21:49:56 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-12-02 21:49:56 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 91.0633ms [2025-12-02 21:49:56 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 21:49:56 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=306 - - - 200 - application/json;+charset=utf-8 91.7235ms [2025-12-02 21:49:56 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 21:49:56 INF] CORS policy execution successful. [2025-12-02 21:49:56 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 21:49:56 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-12-02 21:49:56 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:49:56 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-12-02 21:49:56 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 21:49:56 INF] CORS policy execution successful. [2025-12-02 21:49:56 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 21:49:56 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-12-02 21:49:56 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:49: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-12-02 21:49:56 INF] Executed DbCommand (17ms) [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-12-02 21:49:56 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-12-02 21:49:56 INF] Executed DbCommand (19ms) [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-12-02 21:49:56 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-12-02 21:49:56 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 33.8207ms [2025-12-02 21:49:56 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 21:49:56 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 34.2982ms [2025-12-02 21:49:56 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=306 - - [2025-12-02 21:49:56 INF] CORS policy execution successful. [2025-12-02 21:49:56 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 21:49:56 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-12-02 21:49:56 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:49:56 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-12-02 21:49:56 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-12-02 21:49:56 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-12-02 21:49:56 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 12.2741ms [2025-12-02 21:49:56 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 21:49:56 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=306 - - - 200 - application/json;+charset=utf-8 12.7957ms [2025-12-02 21:49:56 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=306 - - [2025-12-02 21:49:56 INF] CORS policy execution successful. [2025-12-02 21:49:56 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 21:49:56 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-12-02 21:49:56 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:49:56 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-12-02 21:49:56 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-12-02 21:49:56 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-12-02 21:49:56 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 11.7908ms [2025-12-02 21:49:56 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 21:49:56 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=306 - - - 200 - application/json;+charset=utf-8 12.1992ms [2025-12-02 21:49:56 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=306 - - [2025-12-02 21:49:56 INF] CORS policy execution successful. [2025-12-02 21:49:56 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:49:56 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-12-02 21:49:56 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:49:56 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-12-02 21:49:56 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-12-02 21:49:56 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:49:56 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 15.6883ms [2025-12-02 21:49:56 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:49:56 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=306 - - - 200 - application/json;+charset=utf-8 16.0817ms [2025-12-02 21:49:56 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 90.8481ms [2025-12-02 21:49:56 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 21:49:56 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 91.2983ms [2025-12-02 21:49:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getById?id=297 - - [2025-12-02 21:49:57 INF] CORS policy execution successful. [2025-12-02 21:49:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getById?id=297 - - - 204 - - 0.1864ms [2025-12-02 21:49:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContractByLandlordId?landlordId=297 - - [2025-12-02 21:49:57 INF] CORS policy execution successful. [2025-12-02 21:49:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContractByLandlordId?landlordId=297 - - - 204 - - 0.0785ms [2025-12-02 21:49:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByLandlordId?landlordId=297 - - [2025-12-02 21:49:57 INF] CORS policy execution successful. [2025-12-02 21:49:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByLandlordId?landlordId=297 - - - 204 - - 0.0860ms [2025-12-02 21:49:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getById?id=297 - - [2025-12-02 21:49:57 INF] CORS policy execution successful. [2025-12-02 21:49:57 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetByID (Web)' [2025-12-02 21:49:57 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-12-02 21:49:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:49: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-12-02 21:49:57 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-12-02 21:49:57 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Landlords.LandlordVM'. [2025-12-02 21:49:57 INF] Executed action Web.Controllers.API.LandlordController.GetByID (Web) in 13.2983ms [2025-12-02 21:49:57 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetByID (Web)' [2025-12-02 21:49:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getById?id=297 - - - 200 - application/json;+charset=utf-8 13.7387ms [2025-12-02 21:49:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContractByLandlordId?landlordId=297 - - [2025-12-02 21:49:57 INF] CORS policy execution successful. [2025-12-02 21:49:57 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContractByLandlordId (Web)' [2025-12-02 21:49:57 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-12-02 21:49:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:49: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-12-02 21:49:57 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-12-02 21:49:57 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-12-02 21:49:57 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContractByLandlordId (Web) in 35.4978ms [2025-12-02 21:49:57 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContractByLandlordId (Web)' [2025-12-02 21:49:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContractByLandlordId?landlordId=297 - - - 200 - application/json;+charset=utf-8 35.9815ms [2025-12-02 21:49:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByLandlordId?landlordId=297 - - [2025-12-02 21:49:57 INF] CORS policy execution successful. [2025-12-02 21:49:57 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByLandlordId (Web)' [2025-12-02 21:49:57 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-12-02 21:49:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:49: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-12-02 21:49:57 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", 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-12-02 21:49:58 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-12-02 21:49:58 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByLandlordId (Web) in 125.6075ms [2025-12-02 21:49:58 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByLandlordId (Web)' [2025-12-02 21:49:58 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByLandlordId?landlordId=297 - - - 200 - application/json;+charset=utf-8 126.0136ms [2025-12-02 21:50:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/update - - [2025-12-02 21:50:00 INF] CORS policy execution successful. [2025-12-02 21:50:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/update - - - 204 - - 0.5032ms [2025-12-02 21:50:00 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/landlord/update application/json 329 [2025-12-02 21:50:00 INF] CORS policy execution successful. [2025-12-02 21:50:00 INF] Executing endpoint 'Web.Controllers.API.LandlordController.Update (Web)' [2025-12-02 21:50:00 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-12-02 21:50:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:50: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-12-02 21:50:00 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-12-02 21:50:00 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-12-02 21:50:00 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 21:50:00 INF] Executed action Web.Controllers.API.LandlordController.Update (Web) in 19.5132ms [2025-12-02 21:50:00 INF] Executed endpoint 'Web.Controllers.API.LandlordController.Update (Web)' [2025-12-02 21:50:00 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/landlord/update application/json 329 - 200 0 - 20.1353ms [2025-12-02 21:50:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/update - - [2025-12-02 21:50:19 INF] CORS policy execution successful. [2025-12-02 21:50:19 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/update - - - 204 - - 0.2050ms [2025-12-02 21:50:19 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/landlord/update application/json 329 [2025-12-02 21:50:19 INF] CORS policy execution successful. [2025-12-02 21:50:19 INF] Executing endpoint 'Web.Controllers.API.LandlordController.Update (Web)' [2025-12-02 21:50:19 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-12-02 21:50:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:50: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-12-02 21:50:19 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-12-02 21:50:19 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-12-02 21:50:19 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 21:50:19 INF] Executed action Web.Controllers.API.LandlordController.Update (Web) in 17.8573ms [2025-12-02 21:50:19 INF] Executed endpoint 'Web.Controllers.API.LandlordController.Update (Web)' [2025-12-02 21:50:19 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/landlord/update application/json 329 - 200 0 - 18.4288ms [2025-12-02 21:50:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=306 - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=306 - - - 204 - - 0.2461ms [2025-12-02 21:50:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=306 - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=306 - - - 204 - - 0.2079ms [2025-12-02 21:50:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2179ms [2025-12-02 21:50:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=306 - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=306 - - - 204 - - 0.1768ms [2025-12-02 21:50:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=306 - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=306 - - - 204 - - 0.1027ms [2025-12-02 21:50:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=306 - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=306 - - - 204 - - 0.1105ms [2025-12-02 21:50:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=306 - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=306 - - - 204 - - 0.0608ms [2025-12-02 21:50:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=306 - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=306 - - - 204 - - 0.0987ms [2025-12-02 21:50:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=306 - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=306 - - - 204 - - 0.1534ms [2025-12-02 21:50:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=306 - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=306 - - - 204 - - 0.0876ms [2025-12-02 21:50:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0850ms [2025-12-02 21:50:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0845ms [2025-12-02 21:50:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0793ms [2025-12-02 21:50:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=306 - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:50:20 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-12-02 21:50:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:50: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-12-02 21:50:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=306 - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 21:50:20 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-12-02 21:50:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:50:20 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-12-02 21:50:20 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-12-02 21:50:20 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-12-02 21:50:20 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 59.3256ms [2025-12-02 21:50:20 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 21:50:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=306 - - - 200 - application/json;+charset=utf-8 59.8244ms [2025-12-02 21:50:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 21:50:20 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-12-02 21:50:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:50: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-12-02 21:50:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=306 - - [2025-12-02 21:50:20 INF] CORS policy execution successful. [2025-12-02 21:50:20 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 21:50:20 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-12-02 21:50:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:50:21 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-12-02 21:50:21 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 21:50:21 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-12-02 21:50:21 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 15.6059ms [2025-12-02 21:50:21 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 21:50:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=306 - - - 200 - application/json;+charset=utf-8 16.1460ms [2025-12-02 21:50:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=306 - - [2025-12-02 21:50:21 INF] CORS policy execution successful. [2025-12-02 21:50:21 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 21:50:21 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-12-02 21:50:21 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:50:21 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-12-02 21:50:21 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-12-02 21:50:21 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-12-02 21:50:21 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 11.7726ms [2025-12-02 21:50:21 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 21:50:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=306 - - - 200 - application/json;+charset=utf-8 12.1924ms [2025-12-02 21:50:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=306 - - [2025-12-02 21:50:21 INF] CORS policy execution successful. [2025-12-02 21:50:21 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 21:50:21 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-12-02 21:50:21 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:50:21 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-12-02 21:50:21 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-12-02 21:50:21 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-12-02 21:50:21 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 11.8424ms [2025-12-02 21:50:21 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 21:50:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=306 - - - 200 - application/json;+charset=utf-8 12.2020ms [2025-12-02 21:50:21 INF] Executed DbCommand (114ms) [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-12-02 21:50:21 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:50:21 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 129.0669ms [2025-12-02 21:50:21 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:50:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=306 - - - 200 - application/json;+charset=utf-8 129.4682ms [2025-12-02 21:50:21 INF] Executed DbCommand (42ms) [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-12-02 21:50:21 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-12-02 21:50:21 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 75.6232ms [2025-12-02 21:50:21 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 21:50:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 76.1288ms [2025-12-02 21:50:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=306 - - [2025-12-02 21:50:21 INF] CORS policy execution successful. [2025-12-02 21:50:21 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:50:21 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-12-02 21:50:21 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:50:21 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-12-02 21:50:21 INF] Executed DbCommand (0ms) [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-12-02 21:50:21 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-12-02 21:50:21 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 14.8492ms [2025-12-02 21:50:21 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 21:50:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=306 - - - 200 - application/json;+charset=utf-8 15.3378ms [2025-12-02 21:50:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=306 - - [2025-12-02 21:50:21 INF] CORS policy execution successful. [2025-12-02 21:50:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=306 - - [2025-12-02 21:50:21 INF] CORS policy execution successful. [2025-12-02 21:50:21 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:50:21 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 21:50:21 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-12-02 21:50:21 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-12-02 21:50:21 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:50:21 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:50:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 21:50:21 INF] CORS policy execution successful. [2025-12-02 21:50:21 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 21:50:21 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-12-02 21:50:21 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:50:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 21:50:21 INF] CORS policy execution successful. [2025-12-02 21:50:21 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 21:50:21 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-12-02 21:50:21 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:50:21 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-12-02 21:50:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 21:50:21 INF] CORS policy execution successful. [2025-12-02 21:50:21 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 21:50:21 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-12-02 21:50:21 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:50:21 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-12-02 21:50:21 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-12-02 21:50:21 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 24.9656ms [2025-12-02 21:50:21 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 21:50:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=306 - - - 200 - application/json;+charset=utf-8 25.2783ms [2025-12-02 21:50:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=306 - - [2025-12-02 21:50:21 INF] CORS policy execution successful. [2025-12-02 21:50:21 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:50:21 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-12-02 21:50:21 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 21:50:21 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-12-02 21:50:21 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-12-02 21:50:21 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-12-02 21:50:21 INF] Executed DbCommand (9ms) [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-12-02 21:50:21 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-12-02 21:50:21 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-12-02 21:50:21 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-12-02 21:50:21 INF] Executed DbCommand (4ms) [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-12-02 21:50:21 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 21:50:21 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 37.513ms [2025-12-02 21:50:21 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 21:50:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=306 - - - 200 - application/json;+charset=utf-8 37.9092ms [2025-12-02 21:50:21 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-12-02 21:50:21 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-12-02 21:50:21 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-12-02 21:50:21 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-12-02 21:50:21 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 42.5757ms [2025-12-02 21:50:21 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 21:50:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 43.0136ms [2025-12-02 21:50:21 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 53.7744ms [2025-12-02 21:50:21 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 21:50:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 54.5281ms [2025-12-02 21:50:21 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-12-02 21:50:21 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 69.8779ms [2025-12-02 21:50:21 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 21:50:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 70.4341ms [2025-12-02 21:50:21 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-12-02 21:50:21 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 72.4142ms [2025-12-02 21:50:21 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 21:50:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=306 - - - 200 - application/json;+charset=utf-8 72.8414ms [2025-12-02 22:12:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 22:12:02 INF] CORS policy execution successful. [2025-12-02 22:12:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2621ms [2025-12-02 22:12:02 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 22:12:02 INF] CORS policy execution successful. [2025-12-02 22:12:02 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 22:12:02 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-12-02 22:12:02 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:12: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-12-02 22:12:02 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-12-02 22:12:02 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-12-02 22:12:02 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-12-02 22:12:02 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 79.8887ms [2025-12-02 22:12:02 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 22:12:02 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 80.6086ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - - 204 - - 0.3120ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=15 - - - 204 - - 0.0925ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2863ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=15 - - - 204 - - 0.2368ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=15 - - - 204 - - 0.1388ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=15 - - - 204 - - 0.1904ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=15 - - - 204 - - 0.2653ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=15 - - [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=15 - - - 204 - - 0.1647ms [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=15 - - - 204 - - 0.3521ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0838ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0781ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - - 204 - - 1.2535ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1697ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:12:07 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 22:12:07 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 22.8953ms [2025-12-02 22:12:07 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - - 200 - application/json;+charset=utf-8 23.4137ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:12:07 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 57.8478ms [2025-12-02 22:12:07 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 62.9482ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 72.7736ms [2025-12-02 22:12:07 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 73.2292ms [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Executed DbCommand (5ms) [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-12-02 22:12:07 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-12-02 22:12:07 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 48.0759ms [2025-12-02 22:12:07 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 48.5639ms [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 84.6335ms [2025-12-02 22:12:07 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 87.2627ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 INF] Executed DbCommand (9ms) [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-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 34.7196ms [2025-12-02 22:12:07 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 36.6223ms [2025-12-02 22:12:07 INF] Executed DbCommand (12ms) [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-12-02 22:12:07 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", 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-12-02 22:12:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 77.6877ms [2025-12-02 22:12:07 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 78.2424ms [2025-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 124.8072ms [2025-12-02 22:12:07 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 125.3977ms [2025-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 20.455ms [2025-12-02 22:12:07 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 21.0371ms [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 203.6393ms [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 80.2856ms [2025-12-02 22:12:07 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 82.0066ms [2025-12-02 22:12:07 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 168.258ms [2025-12-02 22:12:07 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 22:12:07 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 168.9691ms [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=15 - - - 200 - application/json;+charset=utf-8 207.1814ms [2025-12-02 22:12:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - [2025-12-02 22:12:07 INF] CORS policy execution successful. [2025-12-02 22:12:07 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:12:07 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-12-02 22:12:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:12:07 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-12-02 22:12:07 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-12-02 22:12:07 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 22:12:07 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 14.3988ms [2025-12-02 22:12:07 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:12:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - - 200 - application/json;+charset=utf-8 15.5608ms [2025-12-02 22:13:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/update - - [2025-12-02 22:13:02 INF] CORS policy execution successful. [2025-12-02 22:13:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/update - - - 204 - - 0.2343ms [2025-12-02 22:13:02 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/update application/json 2320 [2025-12-02 22:13:02 INF] CORS policy execution successful. [2025-12-02 22:13:02 INF] Executing endpoint 'Web.Controllers.API.FlatController.Update (Web)' [2025-12-02 22:13:02 INF] Route matched with {action = "Update", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Update(Web.Models.API.Flats.FlatUpdateVM) on controller Web.Controllers.API.FlatController (Web). [2025-12-02 22:13:02 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:13: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-12-02 22:13:02 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-12-02 22:13:02 INF] Executed DbCommand (1ms) [Parameters=[@p26='?' (DbType = Int32), @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'] UPDATE "Flats" SET "AccountNumber" = @p0, "AccountNumber2" = @p1, "AccountNumber3" = @p2, "AdminFees" = @p3, "Apartment" = @p4, "Balance" = @p5, "Building" = @p6, "City" = @p7, "CountParkingSpots" = @p8, "CountRooms" = @p9, "CreateTime" = @p10, "Deposit" = @p11, "Description" = @p12, "Floor" = @p13, "HasBalcony" = @p14, "HasTerrace" = @p15, "InternalId" = @p16, "LandlordId" = @p17, "PetAllowed" = @p18, "Postcode" = @p19, "Price" = @p20, "Size" = @p21, "Street" = @p22, "Title" = @p23, "UpdateTime" = @p24, "YearBuilt" = @p25 WHERE "Id" = @p26; [2025-12-02 22:13:02 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 22:13:02 INF] Executed action Web.Controllers.API.FlatController.Update (Web) in 24.7655ms [2025-12-02 22:13:02 INF] Executed endpoint 'Web.Controllers.API.FlatController.Update (Web)' [2025-12-02 22:13:02 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/update application/json 2320 - 200 0 - 25.8856ms [2025-12-02 22:13:12 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 22:13:12 INF] CORS policy execution successful. [2025-12-02 22:13:12 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2255ms [2025-12-02 22:13:12 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 22:13:12 INF] CORS policy execution successful. [2025-12-02 22:13:12 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 22:13:12 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-12-02 22:13:12 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:13:12 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-12-02 22:13:12 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-12-02 22:13:13 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-12-02 22:13:13 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-12-02 22:13:13 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 63.9515ms [2025-12-02 22:13:13 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 22:13:13 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 64.7018ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=201 - - - 204 - - 0.2412ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=201 - - - 204 - - 0.0839ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1153ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0813ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0551ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=201 - - - 204 - - 0.0724ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=201 - - - 204 - - 0.2437ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=201 - - - 204 - - 0.0988ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0831ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=201 - - - 204 - - 0.1272ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=201 - - - 204 - - 0.1231ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=201 - - - 204 - - 0.0986ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=201 - - - 204 - - 0.1360ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 22:25:22 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-12-02 22:25:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:25: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-12-02 22:25:22 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-12-02 22:25:22 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-12-02 22:25:22 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 19.2222ms [2025-12-02 22:25:22 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=201 - - - 200 - application/json;+charset=utf-8 19.6976ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 22:25:22 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-12-02 22:25:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:25: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-12-02 22:25:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:25: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-12-02 22:25:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 22:25:22 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-12-02 22:25:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 22:25:22 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-12-02 22:25:22 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 22:25: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-12-02 22:25:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:25:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:25:22 INF] Executed DbCommand (9ms) [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-12-02 22:25:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 22:25:22 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-12-02 22:25:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:25:22 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-12-02 22:25:22 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 82.578ms [2025-12-02 22:25:22 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=201 - - - 200 - application/json;+charset=utf-8 83.4996ms [2025-12-02 22:25:22 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-12-02 22:25: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-12-02 22:25:22 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 22:25:22 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 86.0359ms [2025-12-02 22:25:22 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=201 - - - 200 - application/json;+charset=utf-8 86.7514ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 22:25:22 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-12-02 22:25:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:25: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-12-02 22:25:22 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-12-02 22:25:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 22:25:22 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-12-02 22:25:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:25: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-12-02 22:25:22 INF] Executed DbCommand (14ms) [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-12-02 22:25:22 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-12-02 22:25:22 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", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-12-02 22:25:22 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-12-02 22:25:22 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-12-02 22:25:22 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 115.0207ms [2025-12-02 22:25:22 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 115.5308ms [2025-12-02 22:25:22 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-12-02 22:25:22 INF] Executed DbCommand (11ms) [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-12-02 22:25:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 22:25:22 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-12-02 22:25:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:25:22 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-12-02 22:25:22 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 135.0662ms [2025-12-02 22:25:22 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 135.6747ms [2025-12-02 22:25:22 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", 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-12-02 22:25: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-12-02 22:25: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-12-02 22:25:22 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 22:25:22 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-12-02 22:25:22 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 65.4451ms [2025-12-02 22:25:22 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=201 - - - 200 - application/json;+charset=utf-8 66.0094ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 22:25:22 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-12-02 22:25:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:25:22 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-12-02 22:25: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-12-02 22:25:22 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-12-02 22:25:22 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 36.1247ms [2025-12-02 22:25:22 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=201 - - - 200 - application/json;+charset=utf-8 36.7080ms [2025-12-02 22:25:22 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 163.3001ms [2025-12-02 22:25:22 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 166.5566ms [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=201 - - [2025-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 22:25:22 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-12-02 22:25:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:25:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=201 - - [2025-12-02 22:25: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-12-02 22:25:22 INF] CORS policy execution successful. [2025-12-02 22:25:22 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:25: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-12-02 22:25:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:25:22 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-12-02 22:25:22 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-12-02 22:25:22 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 20.3397ms [2025-12-02 22:25:22 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=201 - - - 200 - application/json;+charset=utf-8 20.7650ms [2025-12-02 22:25: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-12-02 22:25:22 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-12-02 22:25:22 INF] Executed DbCommand (3ms) [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-12-02 22:25:22 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-12-02 22:25:22 INF] Executed DbCommand (4ms) [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-12-02 22:25:22 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 22:25:22 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 29.2422ms [2025-12-02 22:25:22 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=201 - - - 200 - application/json;+charset=utf-8 29.8184ms [2025-12-02 22:25:22 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 38.8374ms [2025-12-02 22:25:22 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=201 - - - 200 - application/json;+charset=utf-8 39.4222ms [2025-12-02 22:25:22 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-12-02 22:25:22 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 152.093ms [2025-12-02 22:25:22 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 153.0632ms [2025-12-02 22:25:22 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-12-02 22:25:22 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 201.1933ms [2025-12-02 22:25:22 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 22:25:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=201 - - - 200 - application/json;+charset=utf-8 201.7943ms [2025-12-02 22:25:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=791 - - [2025-12-02 22:25:25 INF] CORS policy execution successful. [2025-12-02 22:25:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=791 - - - 204 - - 0.2648ms [2025-12-02 22:25:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=791 - - [2025-12-02 22:25:25 INF] CORS policy execution successful. [2025-12-02 22:25:25 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 22:25:25 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-12-02 22:25:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:25:25 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-12-02 22:25:25 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-12-02 22:25:25 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-12-02 22:25:25 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 15.2448ms [2025-12-02 22:25:25 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 22:25:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=791 - - - 200 - application/json;+charset=utf-8 15.8000ms [2025-12-02 22:25:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WYJ%C5%9ACIA_S%C5%82omi%C5%84skiego%2019-8%20(30.11.2025).pdf&id=791 - - [2025-12-02 22:25:26 INF] CORS policy execution successful. [2025-12-02 22:25:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WYJ%C5%9ACIA_S%C5%82omi%C5%84skiego%2019-8%20(30.11.2025).pdf&id=791 - - - 204 - - 0.1849ms [2025-12-02 22:25:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WYJ%C5%9ACIA_S%C5%82omi%C5%84skiego%2019-8%20(30.11.2025).pdf&id=791 - - [2025-12-02 22:25:26 INF] CORS policy execution successful. [2025-12-02 22:25:26 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 22:25:26 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-12-02 22:25:26 INF] Executing FileContentResult, sending file with download name '' ... [2025-12-02 22:25:26 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 0.493ms [2025-12-02 22:25:26 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 22:25:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Protoko%C5%82%20WYJ%C5%9ACIA_S%C5%82omi%C5%84skiego%2019-8%20(30.11.2025).pdf&id=791 - - - 200 169486 application/pdf 0.9936ms [2025-12-02 22:30:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 22:30:00 INF] CORS policy execution successful. [2025-12-02 22:30:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2131ms [2025-12-02 22:30:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 22:30:00 INF] CORS policy execution successful. [2025-12-02 22:30:00 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 22:30:00 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-12-02 22:30:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:00 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-12-02 22:30:00 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-12-02 22:30: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-12-02 22:30:00 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-12-02 22:30:00 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 59.824ms [2025-12-02 22:30:00 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 22:30:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 60.4561ms [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=352 - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=352 - - - 204 - - 0.2066ms [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=352 - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=352 - - - 204 - - 0.2289ms [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2100ms [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=352 - - - 204 - - 0.2478ms [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=352 - - - 204 - - 0.2114ms [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=352 - - - 204 - - 5.5978ms [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=352 - - - 204 - - 0.2071ms [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=352 - - - 204 - - 0.1923ms [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=352 - - - 204 - - 0.1025ms [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=352 - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=352 - - - 204 - - 0.1704ms [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1106ms [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1061ms [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0958ms [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=352 - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=352 - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:03 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Executed DbCommand (12ms) [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-12-02 22:30:03 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-12-02 22:30:03 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-12-02 22:30:03 INF] Executed DbCommand (6ms) [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-12-02 22:30:03 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-12-02 22:30:03 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-12-02 22:30:03 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 73.945ms [2025-12-02 22:30:03 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=352 - - - 200 - application/json;+charset=utf-8 77.1600ms [2025-12-02 22:30:03 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-12-02 22:30:03 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-12-02 22:30:03 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 76.129ms [2025-12-02 22:30:03 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=352 - - - 200 - application/json;+charset=utf-8 80.4597ms [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:03 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Executed DbCommand (11ms) [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-12-02 22:30:03 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 95.4396ms [2025-12-02 22:30:03 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=352 - - - 200 - application/json;+charset=utf-8 105.7657ms [2025-12-02 22:30:03 INF] Executed DbCommand (22ms) [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-12-02 22:30:03 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-12-02 22:30:03 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 22:30:03 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 119.4113ms [2025-12-02 22:30:03 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=352 - - - 200 - application/json;+charset=utf-8 119.9649ms [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 130.0049ms [2025-12-02 22:30:03 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=352 - - - 200 - application/json;+charset=utf-8 130.4074ms [2025-12-02 22:30:03 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-12-02 22:30:03 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-12-02 22:30:03 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-12-02 22:30:03 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 37.8885ms [2025-12-02 22:30:03 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=352 - - - 200 - application/json;+charset=utf-8 38.3154ms [2025-12-02 22:30:03 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-12-02 22:30:03 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-12-02 22:30:03 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-12-02 22:30:03 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 44.892ms [2025-12-02 22:30:03 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=352 - - - 200 - application/json;+charset=utf-8 45.5060ms [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:03 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-12-02 22:30:03 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-12-02 22:30:03 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-12-02 22:30:03 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 31.2016ms [2025-12-02 22:30:03 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=352 - - - 200 - application/json;+charset=utf-8 31.6756ms [2025-12-02 22:30:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=352 - - [2025-12-02 22:30:03 INF] CORS policy execution successful. [2025-12-02 22:30:03 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:03 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-12-02 22:30:03 INF] Executed DbCommand (48ms) [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-12-02 22:30:03 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-12-02 22:30:03 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 68.42ms [2025-12-02 22:30:03 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 68.9082ms [2025-12-02 22:30:03 INF] Executed DbCommand (39ms) [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-12-02 22:30:03 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-12-02 22:30:03 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 56.8763ms [2025-12-02 22:30:03 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 57.3657ms [2025-12-02 22:30:03 INF] Executed DbCommand (28ms) [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-12-02 22:30:03 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-12-02 22:30:03 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 41.8297ms [2025-12-02 22:30:03 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 42.2908ms [2025-12-02 22:30:03 INF] Executed DbCommand (12ms) [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-12-02 22:30:03 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 22:30:03 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 27.7986ms [2025-12-02 22:30:03 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=352 - - - 200 - application/json;+charset=utf-8 28.2052ms [2025-12-02 22:30:03 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 244.7606ms [2025-12-02 22:30:03 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 22:30:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 245.5027ms [2025-12-02 22:30:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - [2025-12-02 22:30:28 INF] CORS policy execution successful. [2025-12-02 22:30:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/create - - - 204 - - 0.1991ms [2025-12-02 22:30:28 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundaryooE2Ih20vENXEyA0 61647 [2025-12-02 22:30:28 INF] CORS policy execution successful. [2025-12-02 22:30:28 INF] Executing endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-12-02 22:30:28 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-12-02 22:30:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:28 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-12-02 22:30:28 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-12-02 22:30:28 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 22:30:28 INF] Executed action Web.Controllers.API.AgreementController.Create (Web) in 18.5353ms [2025-12-02 22:30:28 INF] Executed endpoint 'Web.Controllers.API.AgreementController.Create (Web)' [2025-12-02 22:30:28 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/agreement/create multipart/form-data;+boundary=----WebKitFormBoundaryooE2Ih20vENXEyA0 61647 - 200 0 - 19.2000ms [2025-12-02 22:30:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:28 INF] CORS policy execution successful. [2025-12-02 22:30:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=352 - - - 204 - - 0.1997ms [2025-12-02 22:30:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:28 INF] CORS policy execution successful. [2025-12-02 22:30:28 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 22:30:28 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-12-02 22:30:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:28 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-12-02 22:30:28 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-12-02 22:30:28 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-12-02 22:30:28 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 16.5469ms [2025-12-02 22:30:28 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 22:30:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=352 - - - 200 - application/json;+charset=utf-8 17.3564ms [2025-12-02 22:30:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=795 - - [2025-12-02 22:30:29 INF] CORS policy execution successful. [2025-12-02 22:30:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=795 - - - 204 - - 0.2371ms [2025-12-02 22:30:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=795 - - [2025-12-02 22:30:29 INF] CORS policy execution successful. [2025-12-02 22:30:29 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 22:30:29 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-12-02 22:30:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:29 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-12-02 22:30:29 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-12-02 22:30:29 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-12-02 22:30:29 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 17.6534ms [2025-12-02 22:30:29 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 22:30:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=795 - - - 200 - application/json;+charset=utf-8 18.2548ms [2025-12-02 22:30:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/Delete?itemName=agreements&fileName=Margarytki15_382_protok%C3%B3%C5%82_wyj%C5%9Bcie_2_01122025.pdf&id=795 - - [2025-12-02 22:30:34 INF] CORS policy execution successful. [2025-12-02 22:30:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/Delete?itemName=agreements&fileName=Margarytki15_382_protok%C3%B3%C5%82_wyj%C5%9Bcie_2_01122025.pdf&id=795 - - - 204 - - 0.2420ms [2025-12-02 22:30:34 INF] Request starting HTTP/1.1 DELETE http://hmgt.metrohousedev.com/api/file/Delete?itemName=agreements&fileName=Margarytki15_382_protok%C3%B3%C5%82_wyj%C5%9Bcie_2_01122025.pdf&id=795 - - [2025-12-02 22:30:34 INF] CORS policy execution successful. [2025-12-02 22:30:34 INF] Executing endpoint 'Web.Controllers.API.FileController.Delete (Web)' [2025-12-02 22:30:34 INF] Route matched with {action = "Delete", controller = "File"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Delete(System.String, System.String, Int32) on controller Web.Controllers.API.FileController (Web). [2025-12-02 22:30:34 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 22:30:34 INF] Executed action Web.Controllers.API.FileController.Delete (Web) in 0.3886ms [2025-12-02 22:30:34 INF] Executed endpoint 'Web.Controllers.API.FileController.Delete (Web)' [2025-12-02 22:30:34 INF] Request finished HTTP/1.1 DELETE http://hmgt.metrohousedev.com/api/file/Delete?itemName=agreements&fileName=Margarytki15_382_protok%C3%B3%C5%82_wyj%C5%9Bcie_2_01122025.pdf&id=795 - - - 200 0 - 1.2625ms [2025-12-02 22:30:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=795 - - [2025-12-02 22:30:34 INF] CORS policy execution successful. [2025-12-02 22:30:34 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 22:30:34 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-12-02 22:30:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:34 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-12-02 22:30:34 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-12-02 22:30:34 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-12-02 22:30:34 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 21.0064ms [2025-12-02 22:30:34 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 22:30:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=795 - - - 200 - application/json;+charset=utf-8 21.7985ms [2025-12-02 22:30:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/update - - [2025-12-02 22:30:41 INF] CORS policy execution successful. [2025-12-02 22:30:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/update - - - 204 - - 0.1932ms [2025-12-02 22:30:41 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/agreement/update multipart/form-data;+boundary=----WebKitFormBoundaryGvds9MuwYnkVUKav 167490 [2025-12-02 22:30:41 INF] CORS policy execution successful. [2025-12-02 22:30:41 INF] Executing endpoint 'Web.Controllers.API.AgreementController.Update (Web)' [2025-12-02 22:30:41 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-12-02 22:30:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30: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-12-02 22:30:41 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-12-02 22:30:41 INF] Executed DbCommand (0ms) [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-12-02 22:30:41 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 22:30:41 INF] Executed action Web.Controllers.API.AgreementController.Update (Web) in 44.9219ms [2025-12-02 22:30:41 INF] Executed endpoint 'Web.Controllers.API.AgreementController.Update (Web)' [2025-12-02 22:30:41 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/agreement/update multipart/form-data;+boundary=----WebKitFormBoundaryGvds9MuwYnkVUKav 167490 - 200 0 - 46.5288ms [2025-12-02 22:30:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:41 INF] CORS policy execution successful. [2025-12-02 22:30:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=352 - - - 204 - - 0.2223ms [2025-12-02 22:30:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:41 INF] CORS policy execution successful. [2025-12-02 22:30:41 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 22:30: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-12-02 22:30:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30: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-12-02 22:30: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-12-02 22:30: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-12-02 22:30:41 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 15.1666ms [2025-12-02 22:30:41 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 22:30:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=352 - - - 200 - application/json;+charset=utf-8 15.6809ms [2025-12-02 22:30:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=795 - - [2025-12-02 22:30:42 INF] CORS policy execution successful. [2025-12-02 22:30:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=795 - - - 204 - - 0.1876ms [2025-12-02 22:30:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=795 - - [2025-12-02 22:30:42 INF] CORS policy execution successful. [2025-12-02 22:30:42 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 22:30:42 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-12-02 22:30:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30: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-12-02 22:30:42 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-12-02 22:30:42 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-12-02 22:30:42 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 14.7693ms [2025-12-02 22:30:42 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 22:30:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=795 - - - 200 - application/json;+charset=utf-8 15.3206ms [2025-12-02 22:30:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/update - - [2025-12-02 22:30:48 INF] CORS policy execution successful. [2025-12-02 22:30:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/update - - - 204 - - 0.2643ms [2025-12-02 22:30:48 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/agreement/update multipart/form-data;+boundary=----WebKitFormBoundary6c4Ea8XGbfsimJxa 61643 [2025-12-02 22:30:48 INF] CORS policy execution successful. [2025-12-02 22:30:48 INF] Executing endpoint 'Web.Controllers.API.AgreementController.Update (Web)' [2025-12-02 22:30:48 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-12-02 22:30:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30: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-12-02 22:30:48 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-12-02 22:30:48 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-12-02 22:30:48 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 22:30:48 INF] Executed action Web.Controllers.API.AgreementController.Update (Web) in 18.2051ms [2025-12-02 22:30:48 INF] Executed endpoint 'Web.Controllers.API.AgreementController.Update (Web)' [2025-12-02 22:30:48 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/agreement/update multipart/form-data;+boundary=----WebKitFormBoundary6c4Ea8XGbfsimJxa 61643 - 200 0 - 18.7791ms [2025-12-02 22:30:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:48 INF] CORS policy execution successful. [2025-12-02 22:30:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=352 - - - 204 - - 0.2575ms [2025-12-02 22:30:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=352 - - [2025-12-02 22:30:48 INF] CORS policy execution successful. [2025-12-02 22:30:48 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 22:30:48 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-12-02 22:30:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30: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-12-02 22:30:48 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-12-02 22:30:48 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-12-02 22:30:48 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 14.8853ms [2025-12-02 22:30:48 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 22:30:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=352 - - - 200 - application/json;+charset=utf-8 15.3535ms [2025-12-02 22:30:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=795 - - [2025-12-02 22:30:49 INF] CORS policy execution successful. [2025-12-02 22:30:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=795 - - - 204 - - 0.2203ms [2025-12-02 22:30:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=795 - - [2025-12-02 22:30:49 INF] CORS policy execution successful. [2025-12-02 22:30:49 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 22:30:49 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-12-02 22:30:49 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:30:49 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-12-02 22:30:49 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-12-02 22:30:49 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-12-02 22:30:49 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 14.795ms [2025-12-02 22:30:49 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-12-02 22:30:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=795 - - - 200 - application/json;+charset=utf-8 15.2869ms [2025-12-02 22:30:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Margarytki15_382_protok%C3%B3%C5%82_wyj%C5%9Bcie_2_01122025.pdf&id=795 - - [2025-12-02 22:30:51 INF] CORS policy execution successful. [2025-12-02 22:30:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Margarytki15_382_protok%C3%B3%C5%82_wyj%C5%9Bcie_2_01122025.pdf&id=795 - - - 204 - - 0.2435ms [2025-12-02 22:30:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Margarytki15_382_protok%C3%B3%C5%82_wyj%C5%9Bcie_2_01122025.pdf&id=795 - - [2025-12-02 22:30:51 INF] CORS policy execution successful. [2025-12-02 22:30:51 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 22:30:51 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-12-02 22:30:51 INF] Executing FileContentResult, sending file with download name '' ... [2025-12-02 22:30:51 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 0.3438ms [2025-12-02 22:30:51 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 22:30:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Margarytki15_382_protok%C3%B3%C5%82_wyj%C5%9Bcie_2_01122025.pdf&id=795 - - - 200 60888 application/pdf 0.9379ms [2025-12-02 22:30:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Margarytki15_382_protok%C3%B3%C5%82_wyj%C5%9Bcie_01122025.pdf&id=795 - - [2025-12-02 22:30:55 INF] CORS policy execution successful. [2025-12-02 22:30:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Margarytki15_382_protok%C3%B3%C5%82_wyj%C5%9Bcie_01122025.pdf&id=795 - - - 204 - - 0.2006ms [2025-12-02 22:30:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Margarytki15_382_protok%C3%B3%C5%82_wyj%C5%9Bcie_01122025.pdf&id=795 - - [2025-12-02 22:30:55 INF] CORS policy execution successful. [2025-12-02 22:30:55 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 22:30:55 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-12-02 22:30:55 INF] Executing FileContentResult, sending file with download name '' ... [2025-12-02 22:30:55 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 0.8595ms [2025-12-02 22:30:55 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-12-02 22:30:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Margarytki15_382_protok%C3%B3%C5%82_wyj%C5%9Bcie_01122025.pdf&id=795 - - - 200 166737 application/pdf 1.4927ms [2025-12-02 22:31:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=331 - - [2025-12-02 22:31:03 INF] CORS policy execution successful. [2025-12-02 22:31:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=331 - - - 204 - - 0.2147ms [2025-12-02 22:31:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=331 - - [2025-12-02 22:31:03 INF] CORS policy execution successful. [2025-12-02 22:31:03 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 22:31:03 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-12-02 22:31:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31:03 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-12-02 22:31:03 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-12-02 22:31:03 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-12-02 22:31:03 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 34.1573ms [2025-12-02 22:31:03 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 22:31:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=331 - - - 200 - application/json;+charset=utf-8 34.8098ms [2025-12-02 22:31:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - [2025-12-02 22:31:05 INF] CORS policy execution successful. [2025-12-02 22:31:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - - 204 - - 0.1951ms [2025-12-02 22:31:05 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundarym9hLiYEOB5Gyz5VJ 830 [2025-12-02 22:31:05 INF] CORS policy execution successful. [2025-12-02 22:31:05 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-12-02 22:31:05 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-12-02 22:31:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31: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-12-02 22:31:05 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-12-02 22:31:05 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-12-02 22:31:05 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 22:31:05 INF] Executed action Web.Controllers.API.RentalContractController.Update (Web) in 22.764ms [2025-12-02 22:31:05 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-12-02 22:31:05 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundarym9hLiYEOB5Gyz5VJ 830 - 200 0 - 23.3333ms [2025-12-02 22:31:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=352 - - [2025-12-02 22:31:05 INF] CORS policy execution successful. [2025-12-02 22:31:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=352 - - - 204 - - 0.1897ms [2025-12-02 22:31:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=352 - - [2025-12-02 22:31:05 INF] CORS policy execution successful. [2025-12-02 22:31:05 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 22:31:05 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-12-02 22:31:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31: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-12-02 22:31:05 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-12-02 22:31:05 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-12-02 22:31:05 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 36.7392ms [2025-12-02 22:31:05 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 22:31:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=352 - - - 200 - application/json;+charset=utf-8 37.3982ms [2025-12-02 22:31:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 22:31:07 INF] CORS policy execution successful. [2025-12-02 22:31:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.1956ms [2025-12-02 22:31:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 22:31:07 INF] CORS policy execution successful. [2025-12-02 22:31:07 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 22:31:07 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-12-02 22:31:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31:07 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-12-02 22:31:07 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-12-02 22:31:07 INF] Executed DbCommand (7ms) [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-12-02 22:31:07 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-12-02 22:31:07 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 57.6478ms [2025-12-02 22:31:07 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 22:31:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 58.1166ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - - 204 - - 0.1821ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=301 - - - 204 - - 0.2136ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0885ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=301 - - - 204 - - 0.1101ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=301 - - - 204 - - 0.1025ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=301 - - - 204 - - 0.1164ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - - 204 - - 0.0840ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - - 204 - - 0.1869ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=301 - - - 204 - - 0.0984ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - - 204 - - 0.0824ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0771ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0778ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0808ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31: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-12-02 22:31:29 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-12-02 22:31:29 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-12-02 22:31:29 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 56.9152ms [2025-12-02 22:31:29 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=301 - - - 200 - application/json;+charset=utf-8 57.3522ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31:29 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-12-02 22:31:29 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-12-02 22:31:29 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-12-02 22:31:29 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 13.6107ms [2025-12-02 22:31:29 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 13.9886ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 13.3163ms [2025-12-02 22:31:29 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 13.7092ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31: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-12-02 22:31:29 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-12-02 22:31:29 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-12-02 22:31:29 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 13.3192ms [2025-12-02 22:31:29 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 13.8262ms [2025-12-02 22:31:29 INF] Executed DbCommand (113ms) [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-12-02 22:31:29 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 22:31:29 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 125.8394ms [2025-12-02 22:31:29 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - - 200 - application/json;+charset=utf-8 126.3308ms [2025-12-02 22:31:29 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-12-02 22:31:29 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-12-02 22:31:29 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 62.2486ms [2025-12-02 22:31:29 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 62.7293ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31:29 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-12-02 22:31:29 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-12-02 22:31:29 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-12-02 22:31:29 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 14.6942ms [2025-12-02 22:31:29 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 15.2955ms [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 22:31:29 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 22:31:29 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-12-02 22:31:29 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-12-02 22:31:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 22:31: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-12-02 22:31:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - [2025-12-02 22:31:29 INF] CORS policy execution successful. [2025-12-02 22:31:29 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31:29 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-12-02 22:31:29 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", 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-12-02 22:31:29 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-12-02 22:31:29 INF] Executed DbCommand (6ms) [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-12-02 22:31: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-12-02 22:31:29 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 51.3894ms [2025-12-02 22:31:29 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 51.7254ms [2025-12-02 22:31:29 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-12-02 22:31:29 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-12-02 22:31:29 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-12-02 22:31:29 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-12-02 22:31:29 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", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 47.7003ms [2025-12-02 22:31:29 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 48.7319ms [2025-12-02 22:31:29 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-12-02 22:31:29 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-12-02 22:31: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-12-02 22:31:29 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-12-02 22:31:29 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 61.4871ms [2025-12-02 22:31:29 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 62.7767ms [2025-12-02 22:31:29 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 73.1772ms [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 73.7995ms [2025-12-02 22:31:29 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 22:31:29 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 48.2195ms [2025-12-02 22:31:29 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - - 200 - application/json;+charset=utf-8 48.8876ms [2025-12-02 22:31:29 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-12-02 22:31:29 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 80.9939ms [2025-12-02 22:31:29 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 22:31:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 81.5215ms [2025-12-02 22:31:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=255 - - [2025-12-02 22:31:32 INF] CORS policy execution successful. [2025-12-02 22:31:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=255 - - - 204 - - 0.2094ms [2025-12-02 22:31:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=255 - - [2025-12-02 22:31:32 INF] CORS policy execution successful. [2025-12-02 22:31:32 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 22:31:32 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-12-02 22:31:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31: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-12-02 22:31:32 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-12-02 22:31:32 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-12-02 22:31:32 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 28.1421ms [2025-12-02 22:31:32 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-12-02 22:31:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=255 - - - 200 - application/json;+charset=utf-8 28.6809ms [2025-12-02 22:31:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - [2025-12-02 22:31:34 INF] CORS policy execution successful. [2025-12-02 22:31:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - - 204 - - 0.2423ms [2025-12-02 22:31:34 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundary6j2oLPBv5RU49dsq 830 [2025-12-02 22:31:34 INF] CORS policy execution successful. [2025-12-02 22:31:34 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-12-02 22:31:34 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-12-02 22:31:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31:34 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-12-02 22:31:34 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-12-02 22:31:34 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-12-02 22:31:34 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-12-02 22:31:34 INF] Executed action Web.Controllers.API.RentalContractController.Update (Web) in 19.6191ms [2025-12-02 22:31:34 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-12-02 22:31:34 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundary6j2oLPBv5RU49dsq 830 - 200 0 - 20.0882ms [2025-12-02 22:31:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - [2025-12-02 22:31:34 INF] CORS policy execution successful. [2025-12-02 22:31:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - - 204 - - 0.1943ms [2025-12-02 22:31:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - [2025-12-02 22:31:34 INF] CORS policy execution successful. [2025-12-02 22:31:34 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 22:31:34 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-12-02 22:31:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31:34 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-12-02 22:31:34 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-12-02 22:31:34 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-12-02 22:31:34 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 28.9647ms [2025-12-02 22:31:34 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 22:31:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 29.5326ms [2025-12-02 22:31:36 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 22:31:36 INF] CORS policy execution successful. [2025-12-02 22:31:36 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2301ms [2025-12-02 22:31:36 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 22:31:36 INF] CORS policy execution successful. [2025-12-02 22:31:36 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 22:31: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-12-02 22:31:36 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:31:36 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-12-02 22:31: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-12-02 22:31:36 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-12-02 22:31: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-12-02 22:31:36 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 58.8881ms [2025-12-02 22:31:36 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 22:31:36 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 59.5279ms [2025-12-02 22:32:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=373 - - [2025-12-02 22:32:02 INF] CORS policy execution successful. [2025-12-02 22:32:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=373 - - - 204 - - 0.2510ms [2025-12-02 22:32:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=373 - - [2025-12-02 22:32:02 INF] CORS policy execution successful. [2025-12-02 22:32:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=373 - - - 204 - - 0.1447ms [2025-12-02 22:32:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 22:32:02 INF] CORS policy execution successful. [2025-12-02 22:32:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0847ms [2025-12-02 22:32:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=373 - - [2025-12-02 22:32:02 INF] CORS policy execution successful. [2025-12-02 22:32:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=373 - - - 204 - - 0.0968ms [2025-12-02 22:32:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=373 - - [2025-12-02 22:32:02 INF] CORS policy execution successful. [2025-12-02 22:32:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=373 - - - 204 - - 0.1290ms [2025-12-02 22:32:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=373 - - [2025-12-02 22:32:02 INF] CORS policy execution successful. [2025-12-02 22:32:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=373 - - - 204 - - 0.1118ms [2025-12-02 22:32:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=373 - - [2025-12-02 22:32:02 INF] CORS policy execution successful. [2025-12-02 22:32:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=373 - - - 204 - - 0.1633ms [2025-12-02 22:32:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=373 - - [2025-12-02 22:32:02 INF] CORS policy execution successful. [2025-12-02 22:32:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=373 - - - 204 - - 0.1743ms [2025-12-02 22:32:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=373 - - [2025-12-02 22:32:02 INF] CORS policy execution successful. [2025-12-02 22:32:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=373 - - - 204 - - 0.1105ms [2025-12-02 22:32:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=373 - - [2025-12-02 22:32:02 INF] CORS policy execution successful. [2025-12-02 22:32:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=373 - - - 204 - - 0.0808ms [2025-12-02 22:32:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 22:32:02 INF] CORS policy execution successful. [2025-12-02 22:32:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0686ms [2025-12-02 22:32:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 22:32:02 INF] CORS policy execution successful. [2025-12-02 22:32:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0914ms [2025-12-02 22:32:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 22:32:02 INF] CORS policy execution successful. [2025-12-02 22:32:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1541ms [2025-12-02 22:32:02 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=373 - - [2025-12-02 22:32:02 INF] CORS policy execution successful. [2025-12-02 22:32:02 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:32:02 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-12-02 22:32:02 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=373 - - [2025-12-02 22:32:02 INF] CORS policy execution successful. [2025-12-02 22:32:02 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 22:32:02 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-12-02 22:32:02 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:32:02 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:32: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-12-02 22:32:03 INF] Executed DbCommand (956ms) [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-12-02 22:32:03 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 22:32:03 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 973.0863ms [2025-12-02 22:32:03 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:32:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=373 - - - 200 - application/json;+charset=utf-8 973.6578ms [2025-12-02 22:32:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=373 - - [2025-12-02 22:32:03 INF] CORS policy execution successful. [2025-12-02 22:32:03 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 26.602ms [2025-12-02 22:32:03 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-12-02 22:32:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=373 - - - 200 - application/json;+charset=utf-8 27.0335ms [2025-12-02 22:32:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-12-02 22:32:03 INF] CORS policy execution successful. [2025-12-02 22:32:03 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=373 - - [2025-12-02 22:32:03 INF] CORS policy execution successful. [2025-12-02 22:32:03 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 1036.2341ms [2025-12-02 22:32:03 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-12-02 22:32:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=373 - - - 200 - application/json;+charset=utf-8 1036.5689ms [2025-12-02 22:32:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=373 - - [2025-12-02 22:32:03 INF] CORS policy execution successful. [2025-12-02 22:32:03 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 14.839ms [2025-12-02 22:32:03 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-12-02 22:32:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=373 - - - 200 - application/json;+charset=utf-8 15.3075ms [2025-12-02 22:32:03 INF] Executed DbCommand (32ms) [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-12-02 22:32:03 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-12-02 22:32:03 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 48.3766ms [2025-12-02 22:32:03 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-12-02 22:32:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=373 - - - 200 - application/json;+charset=utf-8 48.9704ms [2025-12-02 22:32:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=373 - - [2025-12-02 22:32:03 INF] CORS policy execution successful. [2025-12-02 22:32:03 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=373 - - [2025-12-02 22:32:03 INF] CORS policy execution successful. [2025-12-02 22:32:03 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 21.7797ms [2025-12-02 22:32:03 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-12-02 22:32:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=373 - - - 200 - application/json;+charset=utf-8 22.3582ms [2025-12-02 22:32:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=373 - - [2025-12-02 22:32:03 INF] CORS policy execution successful. [2025-12-02 22:32:03 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 22.9234ms [2025-12-02 22:32:03 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-12-02 22:32:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=373 - - - 200 - application/json;+charset=utf-8 23.4994ms [2025-12-02 22:32:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 22:32:03 INF] CORS policy execution successful. [2025-12-02 22:32:03 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 38.9773ms [2025-12-02 22:32:03 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-12-02 22:32:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=373 - - - 200 - application/json;+charset=utf-8 39.5335ms [2025-12-02 22:32:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-12-02 22:32:03 INF] CORS policy execution successful. [2025-12-02 22:32:03 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-12-02 22:32:03 INF] CORS policy execution successful. [2025-12-02 22:32:03 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 36.5376ms [2025-12-02 22:32:03 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 22:32:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 37.1105ms [2025-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 15.3948ms [2025-12-02 22:32:03 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-12-02 22:32:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 15.9640ms [2025-12-02 22:32:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=373 - - [2025-12-02 22:32:03 INF] CORS policy execution successful. [2025-12-02 22:32:03 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:32:03 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-12-02 22:32:03 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 44.0098ms [2025-12-02 22:32:03 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-12-02 22:32:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 44.5146ms [2025-12-02 22:32:03 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 165.9662ms [2025-12-02 22:32:03 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-12-02 22:32:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 166.3500ms [2025-12-02 22:32:03 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-12-02 22:32:03 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-12-02 22:32:03 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-12-02 22:32:03 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 15.6568ms [2025-12-02 22:32:03 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-12-02 22:32:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=373 - - - 200 - application/json;+charset=utf-8 16.2223ms [2025-12-02 22:32:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 22:32:19 INF] CORS policy execution successful. [2025-12-02 22:32:19 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2095ms [2025-12-02 22:32:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 22:32:19 INF] CORS policy execution successful. [2025-12-02 22:32:19 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 22:32:19 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-12-02 22:32:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 22:32:19 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-12-02 22:32:19 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-12-02 22:32:19 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-12-02 22:32:19 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-12-02 22:32:19 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 69.8602ms [2025-12-02 22:32:19 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 22:32:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 70.5112ms [2025-12-02 23:01:36 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 23:01:36 INF] CORS policy execution successful. [2025-12-02 23:01:36 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2702ms [2025-12-02 23:01:36 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-12-02 23:01:36 INF] CORS policy execution successful. [2025-12-02 23:01:36 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 23:01: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-12-02 23:01:36 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 23:01:36 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-12-02 23:01:36 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", 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-12-02 23:01: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-12-02 23:01:36 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 35.4811ms [2025-12-02 23:01:36 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-12-02 23:01:36 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 36.1262ms [2025-12-02 23:01:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 23:01:37 INF] CORS policy execution successful. [2025-12-02 23:01:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.1751ms [2025-12-02 23:01:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-12-02 23:01:37 INF] CORS policy execution successful. [2025-12-02 23:01:37 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 23:01:37 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-12-02 23:01:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-12-02 23:01: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-12-02 23:01:37 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-12-02 23:01:37 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-12-02 23:01:37 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-12-02 23:01:37 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 59.3705ms [2025-12-02 23:01:37 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-12-02 23:01:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 59.9726ms