[2025-09-18 00:45:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 00:45:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 00:45:11 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 00:45:11 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 00:45:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 5.9053ms [2025-09-18 00:45:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 5.9238ms [2025-09-18 00:45:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 00:45:11 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 00:45:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.1225ms [2025-09-18 00:45:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 00:45:11 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 00:45:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.1325ms [2025-09-18 00:45:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 00:45:17 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 00:45:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.5813ms [2025-09-18 00:45:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 00:45:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 00:45:17 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 00:45:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.2046ms [2025-09-18 00:45:17 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 00:45:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.3198ms [2025-09-18 00:45:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 00:45:17 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 00:45:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.3840ms [2025-09-18 04:08:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 04:08:06 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 04:08:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.3614ms [2025-09-18 04:08:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 04:08:06 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 04:08:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.1994ms [2025-09-18 04:08:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 04:08:06 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 04:08:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.2284ms [2025-09-18 04:08:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 04:08:06 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 04:08:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.2697ms [2025-09-18 05:41:50 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-09-18 05:41:50 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.2254ms [2025-09-18 05:41:52 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id - - [2025-09-18 05:41:52 INF] Authorization failed. These requirements were not met: RolesAuthorizationRequirement:User.IsInRole must be true for one of the following roles: (Admin|Employee|Landlord|Tenant) [2025-09-18 05:41:52 INF] AuthenticationScheme: Bearer was challenged. [2025-09-18 05:41:52 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id - - - 401 0 - 17.6485ms [2025-09-18 05:41:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/ - - [2025-09-18 05:41:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/ - - - 404 0 - 0.2057ms [2025-09-18 06:01:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 06:01:43 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 06:01:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.4661ms [2025-09-18 06:01:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 06:01:43 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 06:01:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.1813ms [2025-09-18 06:01:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 06:01:43 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 06:01:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.1390ms [2025-09-18 06:01:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 06:01:43 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 06:01:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.2372ms [2025-09-18 06:12:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-09-18 06:12:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.4285ms [2025-09-18 06:12:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-09-18 06:12:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.2287ms [2025-09-18 06:46:22 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-09-18 06:46:22 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 0.2104ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2381ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=305 - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=305 - - - 204 - - 0.1435ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=305 - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=305 - - - 204 - - 0.1063ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=305 - - [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - - 204 - - 0.1361ms [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=305 - - - 204 - - 0.2044ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=305 - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=305 - - - 204 - - 0.0644ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=305 - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=305 - - - 204 - - 0.2424ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=305 - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=305 - - - 204 - - 0.1098ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - - 204 - - 0.1140ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=305 - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=305 - - - 204 - - 0.0652ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0859ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1124ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.3790ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=305 - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 08:57:43 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-18 08:57:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:57:43 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 08:57:43 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-18 08:57:43 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 08:57:43 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 67.1897ms [2025-09-18 08:57:43 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=305 - - - 200 - application/json;+charset=utf-8 69.9638ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=305 - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 08:57: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-09-18 08:57:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:57: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-09-18 08:57:43 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 08:57: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-09-18 08:57:43 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 15.2851ms [2025-09-18 08:57:43 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=305 - - - 200 - application/json;+charset=utf-8 15.8070ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 08:57:43 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 08:57:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:57:43 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=305 - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 08:57:43 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-18 08:57:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:57: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-09-18 08:57:43 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 08:57:43 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 08:57:43 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 30.3485ms [2025-09-18 08:57:43 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=305 - - - 200 - application/json;+charset=utf-8 31.1054ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=305 - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 08:57:43 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-18 08:57:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:57: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-09-18 08:57:43 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-18 08:57:43 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 08:57:43 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 14.8564ms [2025-09-18 08:57:43 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 08:57:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=305 - - - 200 - application/json;+charset=utf-8 15.3029ms [2025-09-18 08:57:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - [2025-09-18 08:57:43 INF] CORS policy execution successful. [2025-09-18 08:57:43 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 08:57:43 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 08:57:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:57:44 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 08:57:44 INF] Executed DbCommand (67ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 08:57:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 08:57:44 INF] Executed DbCommand (31ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 08:57:44 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 08:57:44 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 48.6062ms [2025-09-18 08:57:44 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 08:57:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - - 200 - application/json;+charset=utf-8 49.1963ms [2025-09-18 08:57:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=305 - - [2025-09-18 08:57:44 INF] CORS policy execution successful. [2025-09-18 08:57:44 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 08:57: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-09-18 08:57:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:57:44 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 08:57: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-09-18 08:57: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-09-18 08:57:44 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 20.4023ms [2025-09-18 08:57:44 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 08:57:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=305 - - - 200 - application/json;+charset=utf-8 20.8903ms [2025-09-18 08:57:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=305 - - [2025-09-18 08:57:44 INF] CORS policy execution successful. [2025-09-18 08:57:44 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 08:57:44 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 08:57:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:57:44 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 08:57:44 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 08:57:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 08:57:44 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 15.8411ms [2025-09-18 08:57:44 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 08:57:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=305 - - - 200 - application/json;+charset=utf-8 16.3687ms [2025-09-18 08:57:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=305 - - [2025-09-18 08:57:44 INF] CORS policy execution successful. [2025-09-18 08:57:44 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 08:57:44 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 08:57:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:57:44 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 08:57:44 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 08:57:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 08:57:44 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 30.5948ms [2025-09-18 08:57:44 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 08:57:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=305 - - - 200 - application/json;+charset=utf-8 31.0735ms [2025-09-18 08:57:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 08:57:44 INF] CORS policy execution successful. [2025-09-18 08:57:44 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 08:57:44 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-18 08:57:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:57:44 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 08:57:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 08:57:44 INF] CORS policy execution successful. [2025-09-18 08:57:44 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 08:57:44 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-18 08:57:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:57:44 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 08:57:44 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", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-18 08:57:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 08:57:44 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 41.7601ms [2025-09-18 08:57:44 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 08:57:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 43.6978ms [2025-09-18 08:57:44 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", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 08:57:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 08:57:44 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 30.3091ms [2025-09-18 08:57:44 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 08:57:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 30.8977ms [2025-09-18 08:57:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 08:57:44 INF] CORS policy execution successful. [2025-09-18 08:57:44 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 08:57:44 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-18 08:57:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:57:44 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 08:57:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - [2025-09-18 08:57:44 INF] CORS policy execution successful. [2025-09-18 08:57:44 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 08:57:44 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 08:57:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:57: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-09-18 08:57:44 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-09-18 08:57:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 08:57:44 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 37.0233ms [2025-09-18 08:57:44 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 08:57:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 37.5798ms [2025-09-18 08:57:44 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 08:57:44 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 08:57:44 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 20.097ms [2025-09-18 08:57:44 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 08:57:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - - 200 - application/json;+charset=utf-8 20.6140ms [2025-09-18 08:57:44 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 268.6141ms [2025-09-18 08:57:44 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 08:57:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 269.6080ms [2025-09-18 08:58:09 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=259 - - [2025-09-18 08:58:09 INF] CORS policy execution successful. [2025-09-18 08:58:09 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=259 - - - 204 - - 0.2138ms [2025-09-18 08:58:09 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=259 - - [2025-09-18 08:58:09 INF] CORS policy execution successful. [2025-09-18 08:58:09 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 08:58:09 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 08:58:09 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:58:09 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 08:58:09 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 08:58:09 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-18 08:58:09 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 28.2507ms [2025-09-18 08:58:09 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 08:58:09 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=259 - - - 200 - application/json;+charset=utf-8 29.0863ms [2025-09-18 08:58:35 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/create - - [2025-09-18 08:58:35 INF] CORS policy execution successful. [2025-09-18 08:58:35 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/create - - - 204 - - 0.2221ms [2025-09-18 08:58:35 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/rentalContract/create multipart/form-data;+boundary=----WebKitFormBoundaryUd9JMnDnWSiUkol6 908784 [2025-09-18 08:58:35 INF] CORS policy execution successful. [2025-09-18 08:58:35 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Create (Web)' [2025-09-18 08:58:35 INF] Route matched with {action = "Create", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Create(Web.Models.API.RentalContracts.RentalContractCreateVM) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 08:58:35 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:58:35 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 08:58:35 INF] Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = DateTime), @p1='?' (DbType = Int32), @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = Decimal), @p5='?' (DbType = Decimal), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int32), @p8='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] INSERT INTO "RentalContracts" ("CreateTime", "EmployeeId", "EndDate", "FlatId", "HGMTFee", "RentPrice", "StartDate", "Status", "TenantId") VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8) RETURNING "Id"; [2025-09-18 08:58:35 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-18 08:58:35 INF] Executed action Web.Controllers.API.RentalContractController.Create (Web) in 155.3874ms [2025-09-18 08:58:35 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Create (Web)' [2025-09-18 08:58:35 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/rentalContract/create multipart/form-data;+boundary=----WebKitFormBoundaryUd9JMnDnWSiUkol6 908784 - 200 0 - 159.4518ms [2025-09-18 08:58:35 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=305 - - [2025-09-18 08:58:35 INF] CORS policy execution successful. [2025-09-18 08:58:35 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=305 - - - 204 - - 0.2709ms [2025-09-18 08:58:35 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=305 - - [2025-09-18 08:58:35 INF] CORS policy execution successful. [2025-09-18 08:58:35 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 08:58:35 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 08:58:35 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:58:35 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 08:58:35 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 08:58:35 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 08:58:35 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 28.8908ms [2025-09-18 08:58:35 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 08:58:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=305 - - - 200 - application/json;+charset=utf-8 29.5111ms [2025-09-18 08:58:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=259 - - [2025-09-18 08:58:37 INF] CORS policy execution successful. [2025-09-18 08:58:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=259 - - - 204 - - 0.2269ms [2025-09-18 08:58:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=259 - - [2025-09-18 08:58:37 INF] CORS policy execution successful. [2025-09-18 08:58:37 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 08:58:37 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 08:58:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:58:37 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 08:58: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-09-18 08:58:37 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-18 08:58:37 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 29.0354ms [2025-09-18 08:58:37 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 08:58:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=259 - - - 200 - application/json;+charset=utf-8 30.0705ms [2025-09-18 08:58:40 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - [2025-09-18 08:58:40 INF] CORS policy execution successful. [2025-09-18 08:58:40 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - - 204 - - 1.9378ms [2025-09-18 08:58:40 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryBnGas1gXWcuYuPr0 830 [2025-09-18 08:58:40 INF] CORS policy execution successful. [2025-09-18 08:58:40 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-09-18 08:58:40 INF] Route matched with {action = "Update", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Update(Web.Models.API.RentalContracts.RentalContractUpdateVM) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 08:58:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08: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-09-18 08:58:40 INF] Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId" FROM "RentalContracts" AS r WHERE r."Id" = @__p_0 LIMIT 1 [2025-09-18 08:58:40 INF] Executed DbCommand (1ms) [Parameters=[@p9='?' (DbType = Int32), @p0='?' (DbType = DateTime), @p1='?' (DbType = Int32), @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = Decimal), @p5='?' (DbType = Decimal), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int32), @p8='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] UPDATE "RentalContracts" SET "CreateTime" = @p0, "EmployeeId" = @p1, "EndDate" = @p2, "FlatId" = @p3, "HGMTFee" = @p4, "RentPrice" = @p5, "StartDate" = @p6, "Status" = @p7, "TenantId" = @p8 WHERE "Id" = @p9; [2025-09-18 08:58:40 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-18 08:58:40 INF] Executed action Web.Controllers.API.RentalContractController.Update (Web) in 21.3627ms [2025-09-18 08:58:40 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-09-18 08:58:40 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryBnGas1gXWcuYuPr0 830 - 200 0 - 21.9107ms [2025-09-18 08:58:40 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=305 - - [2025-09-18 08:58:40 INF] CORS policy execution successful. [2025-09-18 08:58:40 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=305 - - - 204 - - 0.2147ms [2025-09-18 08:58:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=305 - - [2025-09-18 08:58:40 INF] CORS policy execution successful. [2025-09-18 08:58:40 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 08: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-09-18 08:58:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08: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-09-18 08:58:40 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 08: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-09-18 08:58:40 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 27.6272ms [2025-09-18 08:58:40 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 08:58:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=305 - - - 200 - application/json;+charset=utf-8 28.3514ms [2025-09-18 08:58:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=365 - - [2025-09-18 08:58:45 INF] CORS policy execution successful. [2025-09-18 08:58:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=365 - - - 204 - - 1.7032ms [2025-09-18 08:58:45 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=365 - - [2025-09-18 08:58:45 INF] CORS policy execution successful. [2025-09-18 08:58:45 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-18 08:58:45 INF] Route matched with {action = "GetById", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-18 08:58:45 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:58:45 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 08:58:45 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a WHERE a."Id" = @__p_0 LIMIT 1 [2025-09-18 08:58:45 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-09-18 08:58:45 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 15.08ms [2025-09-18 08:58:45 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-18 08:58:45 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=365 - - - 200 - application/json;+charset=utf-8 15.7396ms [2025-09-18 08:58:47 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=my%C5%9Bliborska72d_135_396_protok%C3%B3%C5%82_30.11.2023_wydanie.pdf&id=365 - - [2025-09-18 08:58:47 INF] CORS policy execution successful. [2025-09-18 08:58:47 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=my%C5%9Bliborska72d_135_396_protok%C3%B3%C5%82_30.11.2023_wydanie.pdf&id=365 - - - 204 - - 0.2400ms [2025-09-18 08:58:47 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=my%C5%9Bliborska72d_135_396_protok%C3%B3%C5%82_30.11.2023_wydanie.pdf&id=365 - - [2025-09-18 08:58:47 INF] CORS policy execution successful. [2025-09-18 08:58:47 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 08:58:47 INF] Route matched with {action = "GetFile", controller = "File"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetFile(System.String, System.String, Int32) on controller Web.Controllers.API.FileController (Web). [2025-09-18 08:58:47 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-18 08:58:47 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 9.5032ms [2025-09-18 08:58:47 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 08:58:47 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=my%C5%9Bliborska72d_135_396_protok%C3%B3%C5%82_30.11.2023_wydanie.pdf&id=365 - - - 200 1736467 application/pdf 10.1181ms [2025-09-18 08:59:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsdelete?id=1513 - - [2025-09-18 08:59:25 INF] CORS policy execution successful. [2025-09-18 08:59:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsdelete?id=1513 - - - 204 - - 0.3648ms [2025-09-18 08:59:25 INF] Request starting HTTP/1.1 DELETE http://hmgt.metrohousedev.com/api/flat/costsdelete?id=1513 - - [2025-09-18 08:59:25 INF] CORS policy execution successful. [2025-09-18 08:59:25 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsDelete (Web)' [2025-09-18 08:59:25 INF] Route matched with {action = "CostsDelete", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] CostsDelete(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 08:59:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:59: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-09-18 08:59:25 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e WHERE e."Id" = @__p_0 LIMIT 1 [2025-09-18 08:59:25 INF] Executed DbCommand (0ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] DELETE FROM "Expenses" WHERE "Id" = @p0; [2025-09-18 08:59:25 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-18 08:59:25 INF] Executed action Web.Controllers.API.FlatController.CostsDelete (Web) in 24.4532ms [2025-09-18 08:59:25 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsDelete (Web)' [2025-09-18 08:59:25 INF] Request finished HTTP/1.1 DELETE http://hmgt.metrohousedev.com/api/flat/costsdelete?id=1513 - - - 200 0 - 25.1010ms [2025-09-18 08:59:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - [2025-09-18 08:59:25 INF] CORS policy execution successful. [2025-09-18 08:59:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - - 204 - - 0.2391ms [2025-09-18 08:59:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - [2025-09-18 08:59:25 INF] CORS policy execution successful. [2025-09-18 08:59:25 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 08:59:25 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 08:59:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:59: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-09-18 08:59:25 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 08:59:25 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 08:59:25 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 21.0962ms [2025-09-18 08:59:25 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 08:59:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - - 200 - application/json;+charset=utf-8 21.6925ms [2025-09-18 08:59:47 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1509 - - [2025-09-18 08:59:47 INF] CORS policy execution successful. [2025-09-18 08:59:47 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1509 - - - 204 - - 0.2416ms [2025-09-18 08:59:47 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1509 - - [2025-09-18 08:59:47 INF] CORS policy execution successful. [2025-09-18 08:59:47 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 08:59: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-09-18 08:59:47 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 08:59:47 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 08:59:47 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-09-18 08:59:47 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-18 08:59:47 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 19.9217ms [2025-09-18 08:59:47 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 08:59:47 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1509 - - - 200 - application/json;+charset=utf-8 20.4714ms [2025-09-18 09:00:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1509 - - [2025-09-18 09:00:11 INF] CORS policy execution successful. [2025-09-18 09:00:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1509 - - - 204 - - 0.2250ms [2025-09-18 09:00:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1509 - - [2025-09-18 09:00:11 INF] CORS policy execution successful. [2025-09-18 09:00:11 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 09:00: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-09-18 09:00:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:00: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-09-18 09:00:11 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e [2025-09-18 09:00:11 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-18 09:00:11 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 28.749ms [2025-09-18 09:00:11 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 09:00:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1509 - - - 200 - application/json;+charset=utf-8 29.4490ms [2025-09-18 09:00:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-09-18 09:00:17 INF] CORS policy execution successful. [2025-09-18 09:00:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2948ms [2025-09-18 09:00:17 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryAWq8QSlg23IFv9j0 1136 [2025-09-18 09:00:17 INF] CORS policy execution successful. [2025-09-18 09:00:17 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-18 09:00:17 INF] Route matched with {action = "CostsUpdate", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] CostsUpdate(Web.Models.API.Expenses.ExpensesUpdateVM) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:00:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:00:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:00:17 INF] Executed DbCommand (0ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e WHERE e."Id" = @__p_0 LIMIT 1 [2025-09-18 09:00:17 INF] Executed DbCommand (0ms) [Parameters=[@p9='?' (DbType = Int32), @p0='?', @p1='?', @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = DateTime), @p5='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = DateTime), @p8='?' (DbType = Decimal)], CommandType='"Text"', CommandTimeout='30'] UPDATE "Expenses" SET "AccountNumber" = @p0, "Comment" = @p1, "CreateTime" = @p2, "FlatId" = @p3, "StartDate" = @p4, "Status" = @p5, "Type" = @p6, "UpdateTime" = @p7, "Value" = @p8 WHERE "Id" = @p9; [2025-09-18 09:00:17 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-18 09:00:17 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 19.3477ms [2025-09-18 09:00:17 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-18 09:00:17 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryAWq8QSlg23IFv9j0 1136 - 200 0 - 20.0544ms [2025-09-18 09:00:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - [2025-09-18 09:00:17 INF] CORS policy execution successful. [2025-09-18 09:00:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - - 204 - - 0.2344ms [2025-09-18 09:00:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - [2025-09-18 09:00:17 INF] CORS policy execution successful. [2025-09-18 09:00:17 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 09:00:17 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:00:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:00:17 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:00:17 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 09:00:17 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 09:00:17 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 17.7417ms [2025-09-18 09:00:17 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 09:00:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - - 200 - application/json;+charset=utf-8 19.3548ms [2025-09-18 09:00:21 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1514 - - [2025-09-18 09:00:21 INF] CORS policy execution successful. [2025-09-18 09:00:21 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1514 - - - 204 - - 0.3145ms [2025-09-18 09:00:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1514 - - [2025-09-18 09:00:21 INF] CORS policy execution successful. [2025-09-18 09:00:21 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 09:00:21 INF] Route matched with {action = "GetCostsById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCostsById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:00:21 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:00: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-09-18 09:00:21 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e [2025-09-18 09:00:21 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-18 09:00:21 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 18.4452ms [2025-09-18 09:00:21 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 09:00:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1514 - - - 200 - application/json;+charset=utf-8 19.0153ms [2025-09-18 09:00:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-09-18 09:00:26 INF] CORS policy execution successful. [2025-09-18 09:00:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2405ms [2025-09-18 09:00:26 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryw4Ffpv4QBXwaBw9C 1144 [2025-09-18 09:00:26 INF] CORS policy execution successful. [2025-09-18 09:00:26 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-18 09:00:26 INF] Route matched with {action = "CostsUpdate", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] CostsUpdate(Web.Models.API.Expenses.ExpensesUpdateVM) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:00:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:00: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-09-18 09:00:26 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e WHERE e."Id" = @__p_0 LIMIT 1 [2025-09-18 09:00:26 INF] Executed DbCommand (1ms) [Parameters=[@p9='?' (DbType = Int32), @p0='?', @p1='?', @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = DateTime), @p5='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = DateTime), @p8='?' (DbType = Decimal)], CommandType='"Text"', CommandTimeout='30'] UPDATE "Expenses" SET "AccountNumber" = @p0, "Comment" = @p1, "CreateTime" = @p2, "FlatId" = @p3, "StartDate" = @p4, "Status" = @p5, "Type" = @p6, "UpdateTime" = @p7, "Value" = @p8 WHERE "Id" = @p9; [2025-09-18 09:00:26 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-18 09:00:26 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 24.0732ms [2025-09-18 09:00:26 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-18 09:00:26 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryw4Ffpv4QBXwaBw9C 1144 - 200 0 - 24.8646ms [2025-09-18 09:00:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - [2025-09-18 09:00:26 INF] CORS policy execution successful. [2025-09-18 09:00:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - - 204 - - 0.2590ms [2025-09-18 09:00:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - [2025-09-18 09:00:26 INF] CORS policy execution successful. [2025-09-18 09:00:26 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 09:00: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-09-18 09:00:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:00: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-09-18 09:00: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-09-18 09:00:26 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 09:00:26 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 17.4908ms [2025-09-18 09:00:26 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 09:00:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - - 200 - application/json;+charset=utf-8 18.0462ms [2025-09-18 09:00:31 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1510 - - [2025-09-18 09:00:31 INF] CORS policy execution successful. [2025-09-18 09:00:31 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1510 - - - 204 - - 0.2388ms [2025-09-18 09:00:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1510 - - [2025-09-18 09:00:31 INF] CORS policy execution successful. [2025-09-18 09:00:31 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 09:00:31 INF] Route matched with {action = "GetCostsById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCostsById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:00:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:00: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-09-18 09:00:31 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e [2025-09-18 09:00:31 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-18 09:00:31 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 23.0466ms [2025-09-18 09:00:31 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 09:00:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1510 - - - 200 - application/json;+charset=utf-8 23.7084ms [2025-09-18 09:00:35 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-09-18 09:00:35 INF] CORS policy execution successful. [2025-09-18 09:00:35 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2255ms [2025-09-18 09:00:35 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundarydgQrA02dA6Nl37rm 1250 [2025-09-18 09:00:35 INF] CORS policy execution successful. [2025-09-18 09:00:35 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-18 09:00:35 INF] Route matched with {action = "CostsUpdate", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] CostsUpdate(Web.Models.API.Expenses.ExpensesUpdateVM) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:00:35 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:00:35 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:00:35 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e WHERE e."Id" = @__p_0 LIMIT 1 [2025-09-18 09:00:35 INF] Executed DbCommand (1ms) [Parameters=[@p9='?' (DbType = Int32), @p0='?', @p1='?', @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = DateTime), @p5='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = DateTime), @p8='?' (DbType = Decimal)], CommandType='"Text"', CommandTimeout='30'] UPDATE "Expenses" SET "AccountNumber" = @p0, "Comment" = @p1, "CreateTime" = @p2, "FlatId" = @p3, "StartDate" = @p4, "Status" = @p5, "Type" = @p6, "UpdateTime" = @p7, "Value" = @p8 WHERE "Id" = @p9; [2025-09-18 09:00:35 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-18 09:00:35 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 20.2533ms [2025-09-18 09:00:35 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-18 09:00:35 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundarydgQrA02dA6Nl37rm 1250 - 200 0 - 20.8939ms [2025-09-18 09:00:35 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - [2025-09-18 09:00:35 INF] CORS policy execution successful. [2025-09-18 09:00:35 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - - 204 - - 0.2802ms [2025-09-18 09:00:35 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - [2025-09-18 09:00:35 INF] CORS policy execution successful. [2025-09-18 09:00:35 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 09:00:35 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:00:35 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:00:35 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:00:35 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 09:00:35 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 09:00:35 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 17.3629ms [2025-09-18 09:00:35 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 09:00:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - - 200 - application/json;+charset=utf-8 18.2237ms [2025-09-18 09:00:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1511 - - [2025-09-18 09:00:38 INF] CORS policy execution successful. [2025-09-18 09:00:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1511 - - - 204 - - 0.2190ms [2025-09-18 09:00:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1511 - - [2025-09-18 09:00:38 INF] CORS policy execution successful. [2025-09-18 09:00:38 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 09:00:38 INF] Route matched with {action = "GetCostsById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCostsById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:00:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:00:38 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:00:38 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e [2025-09-18 09:00:38 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-18 09:00:38 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 18.252ms [2025-09-18 09:00:38 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 09:00:38 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1511 - - - 200 - application/json;+charset=utf-8 18.8647ms [2025-09-18 09:00:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-09-18 09:00:43 INF] CORS policy execution successful. [2025-09-18 09:00:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2738ms [2025-09-18 09:00:43 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryIEuBz52EpWehBlv4 1148 [2025-09-18 09:00:43 INF] CORS policy execution successful. [2025-09-18 09:00:43 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-18 09:00:43 INF] Route matched with {action = "CostsUpdate", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] CostsUpdate(Web.Models.API.Expenses.ExpensesUpdateVM) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:00:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:00:43 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:00:43 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e WHERE e."Id" = @__p_0 LIMIT 1 [2025-09-18 09:00:43 INF] Executed DbCommand (0ms) [Parameters=[@p9='?' (DbType = Int32), @p0='?', @p1='?', @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = DateTime), @p5='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = DateTime), @p8='?' (DbType = Decimal)], CommandType='"Text"', CommandTimeout='30'] UPDATE "Expenses" SET "AccountNumber" = @p0, "Comment" = @p1, "CreateTime" = @p2, "FlatId" = @p3, "StartDate" = @p4, "Status" = @p5, "Type" = @p6, "UpdateTime" = @p7, "Value" = @p8 WHERE "Id" = @p9; [2025-09-18 09:00:43 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-18 09:00:43 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 21.5037ms [2025-09-18 09:00:43 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-18 09:00:43 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryIEuBz52EpWehBlv4 1148 - 200 0 - 22.1379ms [2025-09-18 09:00:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - [2025-09-18 09:00:43 INF] CORS policy execution successful. [2025-09-18 09:00:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - - 204 - - 0.2217ms [2025-09-18 09:00:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - [2025-09-18 09:00:43 INF] CORS policy execution successful. [2025-09-18 09:00:43 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 09:00:43 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:00:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:00: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-09-18 09:00:43 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 09:00:43 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 09:00:43 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 17.687ms [2025-09-18 09:00:43 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 09:00:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=305 - - - 200 - application/json;+charset=utf-8 18.3820ms [2025-09-18 09:00:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 09:00:51 INF] CORS policy execution successful. [2025-09-18 09:00:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2195ms [2025-09-18 09:00:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 09:00:51 INF] CORS policy execution successful. [2025-09-18 09:00:51 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 09:00: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-09-18 09:00:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:00: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-09-18 09:00:51 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 09:00:51 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 09:00:51 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:00:51 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 58.3853ms [2025-09-18 09:00:51 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 09:00:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 59.0173ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=345 - - - 204 - - 0.2966ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=345 - - - 204 - - 0.2308ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=345 - - - 204 - - 0.1150ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=345 - - - 204 - - 0.0627ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=345 - - - 204 - - 0.0557ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.7922ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=345 - - - 204 - - 0.2365ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0908ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1126ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=345 - - - 204 - - 0.1567ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=345 - - - 204 - - 0.0848ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0722ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=345 - - - 204 - - 0.2239ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 09:15:23 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-18 09:15:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:15:23 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:15:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 09:15:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:15:23 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 22.1501ms [2025-09-18 09:15:23 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=345 - - - 200 - application/json;+charset=utf-8 22.9426ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 09:15:23 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-18 09:15:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:15:23 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:15:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 09:15:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:15:23 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 18.0178ms [2025-09-18 09:15:23 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=345 - - - 200 - application/json;+charset=utf-8 18.5512ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 09:15:23 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 09:15:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:15:23 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:15:23 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 09:15:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:15:23 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 35.0068ms [2025-09-18 09:15:23 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=345 - - - 200 - application/json;+charset=utf-8 35.4935ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 09:15:23 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 09:15:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:15:23 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:15:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 09:15:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:15:23 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 16.4875ms [2025-09-18 09:15:23 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=345 - - - 200 - application/json;+charset=utf-8 16.9664ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 09:15:23 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-18 09:15:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:15:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:15:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 09:15:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:15:23 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 16.09ms [2025-09-18 09:15:23 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=345 - - - 200 - application/json;+charset=utf-8 16.5786ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 09:15:23 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-18 09:15:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:15:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 09:15:23 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:15:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:15:23 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:15:23 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", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-18 09:15:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:15:23 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 55.9093ms [2025-09-18 09:15:23 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 56.5056ms [2025-09-18 09:15:23 INF] Executed DbCommand (9ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 09:15:23 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 09:15:23 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 39.9901ms [2025-09-18 09:15:23 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=345 - - - 200 - application/json;+charset=utf-8 40.5000ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 09:15:23 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-18 09:15:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:15:23 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:15:23 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-18 09:15:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:15:23 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 59.2922ms [2025-09-18 09:15:23 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=345 - - - 200 - application/json;+charset=utf-8 59.7658ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 09:15:23 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-18 09:15:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:15:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:15:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-18 09:15:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:15:23 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 14.8369ms [2025-09-18 09:15:23 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=345 - - - 200 - application/json;+charset=utf-8 15.3559ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 09:15:23 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-18 09:15:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:15:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:15:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 09:15:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:15:23 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 17.5659ms [2025-09-18 09:15:23 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 18.0386ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 09:15:23 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-18 09:15:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:15:23 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:15:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 09:15:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:15:23 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 14.3014ms [2025-09-18 09:15:23 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 14.7227ms [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 09:15:23 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:15:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:15:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=345 - - [2025-09-18 09:15:23 INF] CORS policy execution successful. [2025-09-18 09:15:23 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 09:15:23 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:15:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:15:23 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:15:23 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 09:15:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:15: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-09-18 09:15:23 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 09:15:23 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 23.6138ms [2025-09-18 09:15:23 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=345 - - - 200 - application/json;+charset=utf-8 24.1650ms [2025-09-18 09:15:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:15:23 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 48.0542ms [2025-09-18 09:15:23 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 09:15:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 48.8569ms [2025-09-18 09:15:36 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getById?id=378 - - [2025-09-18 09:15:36 INF] CORS policy execution successful. [2025-09-18 09:15:36 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getById?id=378 - - - 204 - - 0.3159ms [2025-09-18 09:15:36 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAllByTenantId?tenantId=378 - - [2025-09-18 09:15:36 INF] CORS policy execution successful. [2025-09-18 09:15:36 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAllByTenantId?tenantId=378 - - - 204 - - 0.1315ms [2025-09-18 09:15:36 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getById?id=378 - - [2025-09-18 09:15:36 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAllByTenantId?tenantId=378 - - [2025-09-18 09:15:36 INF] CORS policy execution successful. [2025-09-18 09:15:36 INF] CORS policy execution successful. [2025-09-18 09:15:36 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetByID (Web)' [2025-09-18 09:15:36 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllByTenantId (Web)' [2025-09-18 09:15:36 INF] Route matched with {action = "GetByID", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetByID(Int32) on controller Web.Controllers.API.TenantController (Web). [2025-09-18 09:15:36 INF] Route matched with {action = "GetAllByTenantId", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByTenantId(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:15:36 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:15:36 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:15: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-09-18 09:15: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-09-18 09:15:36 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 09:15: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-09-18 09:15:36 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Tenants.TenantVM'. [2025-09-18 09:15:36 INF] Executed action Web.Controllers.API.TenantController.GetByID (Web) in 21.751ms [2025-09-18 09:15:36 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetByID (Web)' [2025-09-18 09:15:36 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getById?id=378 - - - 200 - application/json;+charset=utf-8 22.5004ms [2025-09-18 09:15:36 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:15:36 INF] Executed action Web.Controllers.API.FlatController.GetAllByTenantId (Web) in 31.2892ms [2025-09-18 09:15:36 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllByTenantId (Web)' [2025-09-18 09:15:36 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAllByTenantId?tenantId=378 - - - 200 - application/json;+charset=utf-8 32.0278ms [2025-09-18 09:18:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 09:18:59 INF] CORS policy execution successful. [2025-09-18 09:18:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2335ms [2025-09-18 09:18:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 09:18:59 INF] CORS policy execution successful. [2025-09-18 09:18:59 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 09:18:59 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:18:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:18: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-09-18 09:18:59 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 09:18:59 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 09:18:59 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:18:59 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 257.2578ms [2025-09-18 09:18:59 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 09:18:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 257.9291ms [2025-09-18 09:31:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 09:31:00 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 09:31:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.2616ms [2025-09-18 09:31:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 09:31:00 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 09:31:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.3913ms [2025-09-18 09:31:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 09:31:00 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 09:31:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.1502ms [2025-09-18 09:31:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 09:31:00 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 09:31:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.2741ms [2025-09-18 09:31:24 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 09:31:24 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 09:31:24 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 2.0980ms [2025-09-18 09:31:24 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 09:31:24 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 09:31:24 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.4996ms [2025-09-18 09:31:24 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 09:31:24 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 09:31:24 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.4359ms [2025-09-18 09:31:24 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 09:31:24 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 09:31:24 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.1648ms [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.3457ms [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=297 - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=297 - - - 204 - - 0.1372ms [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=297 - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=297 - - - 204 - - 0.0816ms [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=297 - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=297 - - - 204 - - 0.0520ms [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=297 - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=297 - - - 204 - - 0.0873ms [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=297 - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=297 - - - 204 - - 0.1084ms [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=297 - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=297 - - - 204 - - 0.2581ms [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=297 - - [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=297 - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=297 - - - 204 - - 0.2901ms [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0970ms [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0871ms [2025-09-18 09:55:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=297 - - - 204 - - 1.4812ms [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1558ms [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=297 - - [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=297 - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=297 - - - 204 - - 0.3837ms [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=297 - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 09:55:38 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 09:55:38 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:55:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:55:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=297 - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 09:55:38 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-18 09:55:38 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 09:55:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:55:38 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=297 - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 09:55:38 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 09:55:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:55:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:55:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=297 - - [2025-09-18 09:55:38 INF] CORS policy execution successful. [2025-09-18 09:55:38 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 09:55:38 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-18 09:55:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:55:38 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:55:38 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-09-18 09:55:39 INF] Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:55:39 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 09:55:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:55:39 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 114.9175ms [2025-09-18 09:55:39 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 09:55:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=297 - - - 200 - application/json;+charset=utf-8 116.0304ms [2025-09-18 09:55:39 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:55:39 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 09:55:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:55:39 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 113.8694ms [2025-09-18 09:55:39 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 09:55:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=297 - - - 200 - application/json;+charset=utf-8 118.2747ms [2025-09-18 09:55:39 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:55:39 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:55:39 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:55:39 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 09:55:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:55:39 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 121.1452ms [2025-09-18 09:55:39 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 09:55:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=297 - - - 200 - application/json;+charset=utf-8 128.7044ms [2025-09-18 09:55:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=297 - - [2025-09-18 09:55:39 INF] CORS policy execution successful. [2025-09-18 09:55:39 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 09:55:39 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-18 09:55:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:55:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=297 - - [2025-09-18 09:55:39 INF] Executed DbCommand (15ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 09:55:39 INF] CORS policy execution successful. [2025-09-18 09:55:39 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 09:55:39 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-18 09:55:39 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 09:55:39 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 139.8695ms [2025-09-18 09:55:39 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 09:55:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=297 - - - 200 - application/json;+charset=utf-8 145.6243ms [2025-09-18 09:55:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:55:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=297 - - [2025-09-18 09:55:39 INF] CORS policy execution successful. [2025-09-18 09:55:39 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 09:55:39 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 09:55:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:55:39 INF] Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 09:55:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 09:55:39 INF] CORS policy execution successful. [2025-09-18 09:55:39 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 09:55:39 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-18 09:55:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:55:39 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:55:39 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-18 09:55:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:55:39 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 38.034ms [2025-09-18 09:55:39 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 09:55:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=297 - - - 200 - application/json;+charset=utf-8 38.7708ms [2025-09-18 09:55:39 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:55:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:55:39 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 178.1098ms [2025-09-18 09:55:39 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 09:55:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=297 - - - 200 - application/json;+charset=utf-8 178.8920ms [2025-09-18 09:55:39 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:55:39 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 09:55:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 09:55:39 INF] CORS policy execution successful. [2025-09-18 09:55:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:55:39 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 09:55:39 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-18 09:55:39 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 62.4705ms [2025-09-18 09:55:39 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 09:55:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=297 - - - 200 - application/json;+charset=utf-8 63.6054ms [2025-09-18 09:55:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:55:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 09:55:39 INF] CORS policy execution successful. [2025-09-18 09:55:39 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:55:39 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 09:55:39 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-18 09:55:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:55:39 INF] Executed DbCommand (13ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 09:55:39 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 09:55:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:55:39 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 57.5946ms [2025-09-18 09:55:39 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 09:55:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 58.2569ms [2025-09-18 09:55:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=297 - - [2025-09-18 09:55:39 INF] CORS policy execution successful. [2025-09-18 09:55:39 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 09:55:39 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:55:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:55:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:55:39 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:55:39 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:55:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:55:39 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 109.2812ms [2025-09-18 09:55:39 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 09:55:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=297 - - - 200 - application/json;+charset=utf-8 109.7961ms [2025-09-18 09:55:39 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:55:39 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-09-18 09:55:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:55:39 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 58.5011ms [2025-09-18 09:55:39 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 09:55:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 59.2653ms [2025-09-18 09:55:39 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-09-18 09:55:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:55:39 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 64.8019ms [2025-09-18 09:55:39 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 09:55:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 66.3774ms [2025-09-18 09:55:39 INF] Executed DbCommand (11ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 09:55:39 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 09:55:39 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 53.5808ms [2025-09-18 09:55:39 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 09:55:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=297 - - - 200 - application/json;+charset=utf-8 54.3374ms [2025-09-18 09:55:39 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 274.611ms [2025-09-18 09:55:39 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 09:55:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 275.3007ms [2025-09-18 09:55:44 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/update - - [2025-09-18 09:55:44 INF] CORS policy execution successful. [2025-09-18 09:55:44 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/update - - - 204 - - 0.2256ms [2025-09-18 09:55:44 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/update application/json 458 [2025-09-18 09:55:44 INF] CORS policy execution successful. [2025-09-18 09:55:44 INF] Executing endpoint 'Web.Controllers.API.FlatController.Update (Web)' [2025-09-18 09:55:44 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-09-18 09:55:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:55:44 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 09:55:44 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 09:55:44 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-09-18 09:55:44 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-18 09:55:44 INF] Executed action Web.Controllers.API.FlatController.Update (Web) in 23.5841ms [2025-09-18 09:55:44 INF] Executed endpoint 'Web.Controllers.API.FlatController.Update (Web)' [2025-09-18 09:55:44 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/update application/json 458 - 200 0 - 24.2807ms [2025-09-18 09:55:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 09:55:48 INF] CORS policy execution successful. [2025-09-18 09:55:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2478ms [2025-09-18 09:55:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 09:55:48 INF] CORS policy execution successful. [2025-09-18 09:55:48 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 09:55:48 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 09:55:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 09:55: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-09-18 09:55:48 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 09:55:48 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 09:55:48 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 09:55:48 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 71.0829ms [2025-09-18 09:55:48 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 09:55:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 71.7858ms [2025-09-18 10:09:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 10:09:11 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 10:09:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.5811ms [2025-09-18 10:09:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 10:09:11 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 10:09:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.2007ms [2025-09-18 10:09:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 10:09:11 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 10:09:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.2345ms [2025-09-18 10:09:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 10:09:11 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 10:09:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.1116ms [2025-09-18 10:15:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 10:15:03 INF] CORS policy execution successful. [2025-09-18 10:15:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.7045ms [2025-09-18 10:15:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 10:15:03 INF] CORS policy execution successful. [2025-09-18 10:15:03 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 10:15:03 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 10:15:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:15: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-09-18 10:15:03 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 10:15:03 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-09-18 10:15:03 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:15:03 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 110.268ms [2025-09-18 10:15:03 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 10:15:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 111.0523ms [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - - 204 - - 0.4682ms [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=220 - - [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=220 - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=220 - - - 204 - - 0.1318ms [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=220 - - - 204 - - 0.2419ms [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0987ms [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=220 - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=220 - - - 204 - - 0.1910ms [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=220 - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=220 - - - 204 - - 0.1122ms [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=220 - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=220 - - - 204 - - 0.2599ms [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - - 204 - - 0.3338ms [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=220 - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - - 204 - - 0.5481ms [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=220 - - - 204 - - 0.3651ms [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.3286ms [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.3428ms [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.3016ms [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=220 - - [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 10:15: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-09-18 10:15:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:15:10 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:15: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-09-18 10:15:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=220 - - [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=220 - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 10:15:10 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 10:15: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-09-18 10:15: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-09-18 10:15:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:15:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 10:15: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-09-18 10:15:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:15:10 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-09-18 10:15:10 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:15:10 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-18 10:15:10 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:15:10 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 35.6746ms [2025-09-18 10:15:10 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 36.2143ms [2025-09-18 10:15: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-09-18 10:15:10 INF] Executed DbCommand (5ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 10:15:10 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 10:15:10 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 49.8691ms [2025-09-18 10:15:10 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - - 200 - application/json;+charset=utf-8 51.3566ms [2025-09-18 10:15:10 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=220 - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 10:15: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-09-18 10:15:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:15:10 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-09-18 10:15:10 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-09-18 10:15:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=220 - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 10:15: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-09-18 10:15:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:15:10 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:15:10 INF] Executed DbCommand (10ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 10:15:10 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:15:10 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 98.6334ms [2025-09-18 10:15:10 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 99.2555ms [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 10:15:10 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 10:15:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:15: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-09-18 10:15:10 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 10:15:10 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:15:10 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 57.144ms [2025-09-18 10:15:10 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 57.6633ms [2025-09-18 10:15:10 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:15: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-09-18 10:15:10 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 10:15:10 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:15:10 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-09-18 10:15: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-09-18 10:15:10 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 66.371ms [2025-09-18 10:15:10 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 66.8512ms [2025-09-18 10:15:10 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:15:10 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 49.8908ms [2025-09-18 10:15:10 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 50.3625ms [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=220 - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 10:15:10 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 10:15:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:15: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-09-18 10:15:10 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 168.0157ms [2025-09-18 10:15:10 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=220 - - - 200 - application/json;+charset=utf-8 168.6454ms [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 10:15:10 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-18 10:15:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:15:10 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:15:10 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 10:15:10 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:15:10 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 19.3417ms [2025-09-18 10:15:10 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 19.9156ms [2025-09-18 10:15:10 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 160.8817ms [2025-09-18 10:15:10 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 161.5313ms [2025-09-18 10:15: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-09-18 10:15:10 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-09-18 10:15:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 10:15: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-09-18 10:15:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:15:10 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:15:10 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 33.0913ms [2025-09-18 10:15:10 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 33.7463ms [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 10:15:10 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-18 10:15:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:15:10 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:15:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - [2025-09-18 10:15:10 INF] CORS policy execution successful. [2025-09-18 10:15:10 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:15: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-09-18 10:15:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:15:10 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 10:15:10 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:15:10 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:15:10 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 27.7942ms [2025-09-18 10:15:10 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 28.6076ms [2025-09-18 10:15:10 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 10:15:10 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:15:10 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 24.2367ms [2025-09-18 10:15:10 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 24.7463ms [2025-09-18 10:15: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-09-18 10:15:10 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 10:15:10 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 10:15:10 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 23.32ms [2025-09-18 10:15:10 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:15:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - - 200 - application/json;+charset=utf-8 23.8207ms [2025-09-18 10:15:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - [2025-09-18 10:15:33 INF] CORS policy execution successful. [2025-09-18 10:15:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - - 204 - - 0.2567ms [2025-09-18 10:15:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - [2025-09-18 10:15:33 INF] CORS policy execution successful. [2025-09-18 10:15:33 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 10:15: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-09-18 10:15:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:15: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-09-18 10:15:33 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 10:15:33 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-18 10:15:33 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 35.4005ms [2025-09-18 10:15:33 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 10:15:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - - 200 - application/json;+charset=utf-8 36.0282ms [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.4199ms [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.2221ms [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - - 204 - - 0.1224ms [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=220 - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=220 - - - 204 - - 0.1158ms [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=220 - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=220 - - - 204 - - 0.1135ms [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2197ms [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2924ms [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=220 - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=220 - - - 204 - - 0.1579ms [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=220 - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=220 - - - 204 - - 0.1332ms [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=220 - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - - 204 - - 0.3113ms [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=220 - - - 204 - - 0.1667ms [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=220 - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=220 - - - 204 - - 0.1090ms [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - - 204 - - 0.2957ms [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=220 - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 10:36: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-09-18 10:36:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:36: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-09-18 10:36:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 10:36: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-09-18 10:36:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=220 - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 10:36: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-09-18 10:36:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 10:36:11 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-18 10:36:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36: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-09-18 10:36:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 10:36: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-09-18 10:36:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:11 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 10:36: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-09-18 10:36:11 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 58.5009ms [2025-09-18 10:36:11 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 59.0414ms [2025-09-18 10:36: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-09-18 10:36: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-09-18 10:36:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 10:36: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-09-18 10:36:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36: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-09-18 10:36:11 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 45.979ms [2025-09-18 10:36:11 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 47.9885ms [2025-09-18 10:36: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-09-18 10:36: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-09-18 10:36:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=220 - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 10:36: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-09-18 10:36: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-09-18 10:36:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:11 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-09-18 10:36: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-09-18 10:36:11 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 93.6018ms [2025-09-18 10:36:11 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 94.3872ms [2025-09-18 10:36:11 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-09-18 10:36:11 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:36:11 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-18 10:36:11 INF] Executed DbCommand (11ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 10:36:11 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 10:36:11 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 116.0506ms [2025-09-18 10:36:11 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - - 200 - application/json;+charset=utf-8 116.6449ms [2025-09-18 10:36:11 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-09-18 10:36:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=220 - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 10:36: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-09-18 10:36:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=220 - - [2025-09-18 10:36:11 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-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 10:36: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-09-18 10:36:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36: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-09-18 10:36: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-09-18 10:36:11 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 10:36: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-09-18 10:36:11 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 127.5062ms [2025-09-18 10:36:11 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 128.3707ms [2025-09-18 10:36:11 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 47.3878ms [2025-09-18 10:36:11 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 52.0568ms [2025-09-18 10:36: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-09-18 10:36: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-09-18 10:36:11 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-18 10:36: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-09-18 10:36:11 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 60.9367ms [2025-09-18 10:36:11 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 61.6215ms [2025-09-18 10:36:11 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 10:36: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-09-18 10:36:11 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 81.857ms [2025-09-18 10:36:11 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 82.3740ms [2025-09-18 10:36: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-09-18 10:36:11 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:36:11 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 201.0743ms [2025-09-18 10:36:11 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=220 - - - 200 - application/json;+charset=utf-8 203.3202ms [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 10:36: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-09-18 10:36:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36: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-09-18 10:36:11 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 10:36: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-09-18 10:36:11 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 31.7803ms [2025-09-18 10:36:11 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 32.2940ms [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=220 - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 10:36: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-09-18 10:36:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36: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-09-18 10:36: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-09-18 10:36: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-09-18 10:36:11 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 14.6685ms [2025-09-18 10:36:11 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 15.2150ms [2025-09-18 10:36:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - [2025-09-18 10:36:11 INF] CORS policy execution successful. [2025-09-18 10:36:11 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:36: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-09-18 10:36:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36: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-09-18 10:36:11 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 10:36:11 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 10:36:11 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 16.2416ms [2025-09-18 10:36:11 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - - 200 - application/json;+charset=utf-8 16.7865ms [2025-09-18 10:36:11 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 217.7088ms [2025-09-18 10:36:11 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 10:36:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 218.3520ms [2025-09-18 10:36:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - [2025-09-18 10:36:17 INF] CORS policy execution successful. [2025-09-18 10:36:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - - 204 - - 0.2534ms [2025-09-18 10:36:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - [2025-09-18 10:36:17 INF] CORS policy execution successful. [2025-09-18 10:36:17 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 10:36:17 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 10:36:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:36:17 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 10:36:17 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-18 10:36:17 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 31.9988ms [2025-09-18 10:36:17 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 10:36:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - - 200 - application/json;+charset=utf-8 32.5421ms [2025-09-18 10:36:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - [2025-09-18 10:36:27 INF] CORS policy execution successful. [2025-09-18 10:36:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - - 204 - - 0.2278ms [2025-09-18 10:36:27 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryocy5bBZplgB75jUZ 2092604 [2025-09-18 10:36:27 INF] CORS policy execution successful. [2025-09-18 10:36:27 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-09-18 10:36:27 INF] Route matched with {action = "Update", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Update(Web.Models.API.RentalContracts.RentalContractUpdateVM) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 10:36:27 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:27 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:36:27 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId" FROM "RentalContracts" AS r WHERE r."Id" = @__p_0 LIMIT 1 [2025-09-18 10:36:27 INF] Executed DbCommand (1ms) [Parameters=[@p9='?' (DbType = Int32), @p0='?' (DbType = DateTime), @p1='?' (DbType = Int32), @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = Decimal), @p5='?' (DbType = Decimal), @p6='?' (DbType = DateTime), @p7='?' (DbType = Int32), @p8='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] UPDATE "RentalContracts" SET "CreateTime" = @p0, "EmployeeId" = @p1, "EndDate" = @p2, "FlatId" = @p3, "HGMTFee" = @p4, "RentPrice" = @p5, "StartDate" = @p6, "Status" = @p7, "TenantId" = @p8 WHERE "Id" = @p9; [2025-09-18 10:36:27 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-18 10:36:27 INF] Executed action Web.Controllers.API.RentalContractController.Update (Web) in 362.644ms [2025-09-18 10:36:27 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-09-18 10:36:27 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryocy5bBZplgB75jUZ 2092604 - 200 0 - 372.0823ms [2025-09-18 10:36:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - [2025-09-18 10:36:27 INF] CORS policy execution successful. [2025-09-18 10:36:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - - 204 - - 0.2317ms [2025-09-18 10:36:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - [2025-09-18 10:36:28 INF] CORS policy execution successful. [2025-09-18 10:36:28 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 10:36: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-09-18 10:36:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36: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-09-18 10:36:28 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 10:36: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-09-18 10:36:28 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 32.6791ms [2025-09-18 10:36:28 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 10:36:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 33.4797ms [2025-09-18 10:36:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - [2025-09-18 10:36:51 INF] CORS policy execution successful. [2025-09-18 10:36:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - - 204 - - 0.4018ms [2025-09-18 10:36:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - [2025-09-18 10:36:51 INF] CORS policy execution successful. [2025-09-18 10:36:51 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 10:36:51 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 10:36:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10: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-09-18 10:36:51 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 10:36:51 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-18 10:36:51 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 36.7345ms [2025-09-18 10:36:51 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 10:36:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - - 200 - application/json;+charset=utf-8 37.4481ms [2025-09-18 10:36:52 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - [2025-09-18 10:36:52 INF] CORS policy execution successful. [2025-09-18 10:36:52 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - - 204 - - 0.1904ms [2025-09-18 10:36:52 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - [2025-09-18 10:36:52 INF] CORS policy execution successful. [2025-09-18 10:36:52 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 10:36:52 INF] Route matched with {action = "GetFile", controller = "File"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetFile(System.String, System.String, Int32) on controller Web.Controllers.API.FileController (Web). [2025-09-18 10:36:52 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-18 10:36:52 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 4.5998ms [2025-09-18 10:36:52 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 10:36:52 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - - 200 2091586 application/pdf 5.1489ms [2025-09-18 10:36:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 10:36:55 INF] CORS policy execution successful. [2025-09-18 10:36:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2269ms [2025-09-18 10:36:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 10:36:55 INF] CORS policy execution successful. [2025-09-18 10:36:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 10: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-09-18 10:36:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36: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-09-18 10:36:55 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 10:36:55 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 10: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-09-18 10:36:55 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 66.8971ms [2025-09-18 10:36:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 10:36:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 67.5778ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=208 - - - 204 - - 0.2378ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=208 - - - 204 - - 0.3385ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2842ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=208 - - [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=208 - - - 204 - - 0.1609ms [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=208 - - - 204 - - 0.5488ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=208 - - - 204 - - 0.1007ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=208 - - - 204 - - 0.0647ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=208 - - - 204 - - 0.2693ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=208 - - - 204 - - 0.2028ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=208 - - - 204 - - 0.2421ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0784ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1372ms [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.3482ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:36:57 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 10:36:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 10:36:57 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-18 10:36:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:57 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 10:36:57 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 10:36:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:57 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:36:57 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-18 10:36:57 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 10:36:57 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-18 10:36:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:57 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:36:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:36:57 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 66.142ms [2025-09-18 10:36:57 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=208 - - - 200 - application/json;+charset=utf-8 68.2163ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 10:36:57 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-18 10:36:57 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 10:36:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:36:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:57 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 24.659ms [2025-09-18 10:36:57 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=208 - - - 200 - application/json;+charset=utf-8 25.1951ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 10:36:57 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-18 10:36:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:57 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:36:57 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-18 10:36:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:36:57 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 16.1408ms [2025-09-18 10:36:57 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=208 - - - 200 - application/json;+charset=utf-8 16.5638ms [2025-09-18 10:36:57 INF] Executed DbCommand (73ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 10:36:57 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 10:36:57 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 90.7727ms [2025-09-18 10:36:57 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=208 - - - 200 - application/json;+charset=utf-8 91.2880ms [2025-09-18 10:36:57 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:36:57 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-09-18 10:36:57 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 10:36:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:36:57 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 17.0617ms [2025-09-18 10:36:57 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=208 - - - 200 - application/json;+charset=utf-8 17.4315ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 10:36:57 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-18 10:36:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 10:36:57 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 10:36:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:57 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:36:57 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 10:36:57 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:36:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:36:57 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 25.6751ms [2025-09-18 10:36:57 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=208 - - - 200 - application/json;+charset=utf-8 26.3724ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 10:36:57 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 10:36:57 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-18 10:36:57 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-18 10:36:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 10:36:57 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 10:36:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:57 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-09-18 10:36:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:36:57 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 26.5335ms [2025-09-18 10:36:57 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=208 - - - 200 - application/json;+charset=utf-8 27.1527ms [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 10:36:57 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-18 10:36:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36:57 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 145.0997ms [2025-09-18 10:36:57 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 149.9697ms [2025-09-18 10:36:57 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:36:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=208 - - [2025-09-18 10:36:57 INF] CORS policy execution successful. [2025-09-18 10:36:57 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:36:57 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:36:57 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 10:36:57 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:36: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", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 10:36:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:36:57 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 44.9366ms [2025-09-18 10:36:57 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 45.6229ms [2025-09-18 10:36: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-09-18 10:36:57 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:36:57 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:36:57 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 10:36:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:36:57 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 67.7175ms [2025-09-18 10:36:57 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=208 - - - 200 - application/json;+charset=utf-8 68.5195ms [2025-09-18 10:36:57 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-09-18 10:36:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:36:57 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 71.6318ms [2025-09-18 10:36:57 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 72.0639ms [2025-09-18 10:36:57 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:36:57 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 61.9001ms [2025-09-18 10:36:57 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 67.8431ms [2025-09-18 10:36:57 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:36:57 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 10:36:57 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 10:36:57 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 40.337ms [2025-09-18 10:36:57 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:36:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=208 - - - 200 - application/json;+charset=utf-8 42.3375ms [2025-09-18 10:37:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 10:37:00 INF] CORS policy execution successful. [2025-09-18 10:37:00 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 10:37: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-09-18 10:37:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:37: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-09-18 10:37:00 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 10:37:00 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 10:37: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-09-18 10:37:00 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 62.0903ms [2025-09-18 10:37:00 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 10:37:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 62.7663ms [2025-09-18 10:40:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - [2025-09-18 10:40:30 INF] CORS policy execution successful. [2025-09-18 10:40:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - - 204 - - 0.2426ms [2025-09-18 10:40:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - [2025-09-18 10:40:30 INF] CORS policy execution successful. [2025-09-18 10:40:30 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 10:40:30 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 10:40:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:40:30 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:40:30 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 10:40:30 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-18 10:40:30 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 31.9088ms [2025-09-18 10:40:30 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 10:40:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - - 200 - application/json;+charset=utf-8 32.4969ms [2025-09-18 10:40:31 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - [2025-09-18 10:40:31 INF] CORS policy execution successful. [2025-09-18 10:40:31 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - - 204 - - 0.2482ms [2025-09-18 10:40:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - [2025-09-18 10:40:31 INF] CORS policy execution successful. [2025-09-18 10:40:31 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 10:40:31 INF] Route matched with {action = "GetFile", controller = "File"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetFile(System.String, System.String, Int32) on controller Web.Controllers.API.FileController (Web). [2025-09-18 10:40:31 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-18 10:40:31 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 3.3606ms [2025-09-18 10:40:31 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 10:40:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - - 200 2091586 application/pdf 3.9748ms [2025-09-18 10:41:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getById?id=67 - - [2025-09-18 10:41:01 INF] CORS policy execution successful. [2025-09-18 10:41:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getById?id=67 - - - 204 - - 0.3629ms [2025-09-18 10:41:01 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAllByTenantId?tenantId=67 - - [2025-09-18 10:41:01 INF] CORS policy execution successful. [2025-09-18 10:41:01 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAllByTenantId?tenantId=67 - - - 204 - - 0.8843ms [2025-09-18 10:41:02 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getById?id=67 - - [2025-09-18 10:41:02 INF] CORS policy execution successful. [2025-09-18 10:41:02 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetByID (Web)' [2025-09-18 10:41:02 INF] Route matched with {action = "GetByID", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetByID(Int32) on controller Web.Controllers.API.TenantController (Web). [2025-09-18 10:41:02 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:02 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAllByTenantId?tenantId=67 - - [2025-09-18 10:41:02 INF] CORS policy execution successful. [2025-09-18 10:41:02 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllByTenantId (Web)' [2025-09-18 10:41:02 INF] Route matched with {action = "GetAllByTenantId", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByTenantId(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 10:41:02 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:02 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:02 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 10:41:02 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Tenants.TenantVM'. [2025-09-18 10:41:02 INF] Executed action Web.Controllers.API.TenantController.GetByID (Web) in 28.2253ms [2025-09-18 10:41:02 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetByID (Web)' [2025-09-18 10:41:02 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getById?id=67 - - - 200 - application/json;+charset=utf-8 28.9243ms [2025-09-18 10:41:02 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41: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-09-18 10:41:02 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:41:02 INF] Executed action Web.Controllers.API.FlatController.GetAllByTenantId (Web) in 56.1847ms [2025-09-18 10:41:02 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllByTenantId (Web)' [2025-09-18 10:41:02 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAllByTenantId?tenantId=67 - - - 200 - application/json;+charset=utf-8 56.7857ms [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - - 204 - - 0.9077ms [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=220 - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=220 - - - 204 - - 0.2748ms [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=220 - - - 204 - - 0.3201ms [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=220 - - - 204 - - 0.1125ms [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1000ms [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=220 - - - 204 - - 0.1364ms [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=220 - - - 204 - - 0.2776ms [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - - 204 - - 0.2348ms [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.3828ms [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=220 - - - 204 - - 0.1117ms [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - - 204 - - 0.2569ms [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.3078ms [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2535ms [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 10:41:33 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:41: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-09-18 10:41: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-09-18 10:41:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=220 - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 10:41: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-09-18 10:41:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:33 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 10:41:33 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-18 10:41:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 10:41: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-09-18 10:41:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 10:41: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-09-18 10:41:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:33 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:33 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-09-18 10:41:33 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-18 10:41: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-09-18 10:41:33 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 51.2144ms [2025-09-18 10:41:33 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 51.8252ms [2025-09-18 10:41:33 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-09-18 10:41:33 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:33 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 10:41: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-09-18 10:41:33 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 72.7893ms [2025-09-18 10:41:33 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 73.6735ms [2025-09-18 10:41:33 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:33 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 10:41: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-09-18 10:41:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 10:41: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-09-18 10:41:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:33 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:33 INF] Executed DbCommand (9ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 10:41:33 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 10:41:33 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 146.6562ms [2025-09-18 10:41:33 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - - 200 - application/json;+charset=utf-8 148.0337ms [2025-09-18 10:41: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-09-18 10:41: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-09-18 10:41:33 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:33 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-09-18 10:41: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-09-18 10:41:33 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 141.8078ms [2025-09-18 10:41:33 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 142.4438ms [2025-09-18 10:41:33 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:33 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 10:41: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-09-18 10:41:33 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 73.9738ms [2025-09-18 10:41:33 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 74.9893ms [2025-09-18 10:41: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-09-18 10:41:33 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 174.6043ms [2025-09-18 10:41:33 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=220 - - - 200 - application/json;+charset=utf-8 182.9518ms [2025-09-18 10:41: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-09-18 10:41:33 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 58.3596ms [2025-09-18 10:41:33 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 58.8661ms [2025-09-18 10:41: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-09-18 10:41:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 10:41: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-09-18 10:41:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:33 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 153.2501ms [2025-09-18 10:41:33 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 154.7419ms [2025-09-18 10:41: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-09-18 10:41:33 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 10:41: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-09-18 10:41:33 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 21.8844ms [2025-09-18 10:41:33 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 22.3425ms [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 10:41: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-09-18 10:41:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 10:41: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-09-18 10:41:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - [2025-09-18 10:41:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] CORS policy execution successful. [2025-09-18 10:41:33 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:41:33 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 10:41: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-09-18 10:41: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-09-18 10:41:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:33 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:33 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:33 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-18 10:41: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-09-18 10:41:33 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41: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-09-18 10:41:33 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 10:41:33 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 10:41: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-09-18 10:41: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-09-18 10:41:33 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 35.9318ms [2025-09-18 10:41:33 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 36.5680ms [2025-09-18 10:41:33 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 46.2071ms [2025-09-18 10:41:33 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 47.7245ms [2025-09-18 10:41: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-09-18 10:41:33 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 59.6815ms [2025-09-18 10:41:33 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 60.6660ms [2025-09-18 10:41:33 INF] Executed DbCommand (3ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 10:41:33 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 10:41:33 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 43.7502ms [2025-09-18 10:41:33 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:41:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - - 200 - application/json;+charset=utf-8 44.3635ms [2025-09-18 10:41:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAllByTenantId?tenantId=67 - - [2025-09-18 10:41:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getById?id=67 - - [2025-09-18 10:41:34 INF] CORS policy execution successful. [2025-09-18 10:41:34 INF] CORS policy execution successful. [2025-09-18 10:41:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAllByTenantId?tenantId=67 - - - 204 - - 0.3458ms [2025-09-18 10:41:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getById?id=67 - - - 204 - - 0.4107ms [2025-09-18 10:41:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAllByTenantId?tenantId=67 - - [2025-09-18 10:41:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getById?id=67 - - [2025-09-18 10:41:34 INF] CORS policy execution successful. [2025-09-18 10:41:34 INF] CORS policy execution successful. [2025-09-18 10:41:34 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllByTenantId (Web)' [2025-09-18 10:41:34 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetByID (Web)' [2025-09-18 10:41:34 INF] Route matched with {action = "GetAllByTenantId", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByTenantId(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 10:41:34 INF] Route matched with {action = "GetByID", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetByID(Int32) on controller Web.Controllers.API.TenantController (Web). [2025-09-18 10:41:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41: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-09-18 10:41: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-09-18 10:41:34 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 10:41:34 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 10:41:34 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Tenants.TenantVM'. [2025-09-18 10:41:34 INF] Executed action Web.Controllers.API.TenantController.GetByID (Web) in 25.0212ms [2025-09-18 10:41:34 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetByID (Web)' [2025-09-18 10:41:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getById?id=67 - - - 200 - application/json;+charset=utf-8 25.6282ms [2025-09-18 10:41:35 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:41:35 INF] Executed action Web.Controllers.API.FlatController.GetAllByTenantId (Web) in 35.0369ms [2025-09-18 10:41:35 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllByTenantId (Web)' [2025-09-18 10:41:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAllByTenantId?tenantId=67 - - - 200 - application/json;+charset=utf-8 35.6616ms [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - - 204 - - 0.2514ms [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=220 - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=220 - - - 204 - - 0.1973ms [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2113ms [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=220 - - - 204 - - 0.2418ms [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=220 - - - 204 - - 0.2838ms [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=220 - - - 204 - - 0.2482ms [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=220 - - - 204 - - 0.2995ms [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=220 - - - 204 - - 0.0842ms [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - - 204 - - 0.8287ms [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - - 204 - - 0.2163ms [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2402ms [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.2952ms [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2018ms [2025-09-18 10:41:39 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:41:39 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 10:41:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=220 - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 10:41:39 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-18 10:41:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 10:41:39 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 10:41:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:39 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:39 INF] Executed DbCommand (5ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 10:41:39 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 10:41:39 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:39 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 29.0502ms [2025-09-18 10:41:39 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - - 200 - application/json;+charset=utf-8 29.7503ms [2025-09-18 10:41:39 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:39 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 10:41:39 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 10:41:39 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-18 10:41:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 10:41:39 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-18 10:41:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 10:41:39 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-18 10:41:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 10:41:39 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 10:41:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:39 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:39 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-09-18 10:41:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:41:39 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 52.907ms [2025-09-18 10:41:39 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 53.6765ms [2025-09-18 10:41:39 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:39 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:41:39 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 10:41:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:41:39 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 41.0221ms [2025-09-18 10:41:39 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 41.3587ms [2025-09-18 10:41:39 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 10:41:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:41:39 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 42.7077ms [2025-09-18 10:41:39 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 43.2643ms [2025-09-18 10:41:39 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 96.7761ms [2025-09-18 10:41:39 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 97.7195ms [2025-09-18 10:41:39 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:39 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 10:41:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:41:39 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 36.8874ms [2025-09-18 10:41:39 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 37.6414ms [2025-09-18 10:41:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 10:41:39 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 118.0695ms [2025-09-18 10:41:39 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 10:41:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=220 - - - 200 - application/json;+charset=utf-8 118.7300ms [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 10:41:39 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-18 10:41:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 10:41:39 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 10:41:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 10:41:39 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-18 10:41:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:39 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:39 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 10:41:39 INF] CORS policy execution successful. [2025-09-18 10:41:39 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 10:41:39 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-18 10:41:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41: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-09-18 10:41:40 INF] Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 10:41:40 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 10:41: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-09-18 10:41:40 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-09-18 10:41:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 10:41:40 INF] CORS policy execution successful. [2025-09-18 10:41:40 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 10:41: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-09-18 10:41:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:40 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 57.4444ms [2025-09-18 10:41:40 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 10:41:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 59.1876ms [2025-09-18 10:41:40 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41: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-09-18 10:41: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-09-18 10:41: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-09-18 10:41:40 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 42.8566ms [2025-09-18 10:41:40 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 10:41:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 44.6485ms [2025-09-18 10:41: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-09-18 10:41: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-09-18 10:41: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-09-18 10:41:40 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 32.5795ms [2025-09-18 10:41:40 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 10:41:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 33.3465ms [2025-09-18 10:41:40 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 67.6783ms [2025-09-18 10:41:40 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 10:41:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 70.9013ms [2025-09-18 10:41: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-09-18 10:41:40 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 75.3071ms [2025-09-18 10:41:40 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 10:41:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=220 - - - 200 - application/json;+charset=utf-8 75.9124ms [2025-09-18 10:41:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - [2025-09-18 10:41:40 INF] CORS policy execution successful. [2025-09-18 10:41:40 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:41: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-09-18 10:41:40 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41: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-09-18 10:41: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-09-18 10:41:40 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 10:41:40 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 20.7478ms [2025-09-18 10:41:40 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 10:41:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=220 - - - 200 - application/json;+charset=utf-8 21.3747ms [2025-09-18 10:41:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - [2025-09-18 10:41:43 INF] CORS policy execution successful. [2025-09-18 10:41:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - - 204 - - 0.2424ms [2025-09-18 10:41:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - [2025-09-18 10:41:43 INF] CORS policy execution successful. [2025-09-18 10:41:43 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 10:41:43 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 10:41:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:41:43 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 10:41: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-09-18 10:41:43 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-18 10:41:43 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 36.7313ms [2025-09-18 10:41:43 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 10:41:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - - 200 - application/json;+charset=utf-8 37.2755ms [2025-09-18 10:41:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - [2025-09-18 10:41:45 INF] CORS policy execution successful. [2025-09-18 10:41:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - - 204 - - 1.2818ms [2025-09-18 10:41:45 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - [2025-09-18 10:41:45 INF] CORS policy execution successful. [2025-09-18 10:41:45 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 10:41:45 INF] Route matched with {action = "GetFile", controller = "File"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetFile(System.String, System.String, Int32) on controller Web.Controllers.API.FileController (Web). [2025-09-18 10:41:45 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-18 10:41:45 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 3.3572ms [2025-09-18 10:41:45 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 10:41:45 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - - 200 2091586 application/pdf 3.9100ms [2025-09-18 10:43:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - [2025-09-18 10:43:07 INF] CORS policy execution successful. [2025-09-18 10:43:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - - 204 - - 0.2374ms [2025-09-18 10:43:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - [2025-09-18 10:43:07 INF] CORS policy execution successful. [2025-09-18 10:43:07 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 10:43:07 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 10:43:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 10:43: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-09-18 10:43:07 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 10:43:07 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-18 10:43:07 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 32.7149ms [2025-09-18 10:43:07 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 10:43:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - - 200 - application/json;+charset=utf-8 33.3446ms [2025-09-18 10:43:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - [2025-09-18 10:43:08 INF] CORS policy execution successful. [2025-09-18 10:43:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - - 204 - - 0.2511ms [2025-09-18 10:43:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - [2025-09-18 10:43:08 INF] CORS policy execution successful. [2025-09-18 10:43:08 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 10:43:08 INF] Route matched with {action = "GetFile", controller = "File"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetFile(System.String, System.String, Int32) on controller Web.Controllers.API.FileController (Web). [2025-09-18 10:43:08 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-18 10:43:08 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 2.5501ms [2025-09-18 10:43:08 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 10:43:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - - 200 2091586 application/pdf 3.1419ms [2025-09-18 11:00:50 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - [2025-09-18 11:00:50 INF] CORS policy execution successful. [2025-09-18 11:00:50 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - - 204 - - 0.1979ms [2025-09-18 11:00:50 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - [2025-09-18 11:00:50 INF] CORS policy execution successful. [2025-09-18 11:00:50 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 11:00:50 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 11:00:50 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 11:00:50 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 11:00:50 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 11:00:50 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-18 11:00:50 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 38.035ms [2025-09-18 11:00:50 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 11:00:50 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - - 200 - application/json;+charset=utf-8 38.5916ms [2025-09-18 11:00:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - [2025-09-18 11:00:51 INF] CORS policy execution successful. [2025-09-18 11:00:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - - 204 - - 0.1935ms [2025-09-18 11:00:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - [2025-09-18 11:00:51 INF] CORS policy execution successful. [2025-09-18 11:00:51 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 11:00: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-09-18 11:00:51 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-18 11:00:51 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 2.7244ms [2025-09-18 11:00:51 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 11:00:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - - 200 2091586 application/pdf 3.2875ms [2025-09-18 11:04:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - [2025-09-18 11:04:25 INF] CORS policy execution successful. [2025-09-18 11:04:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - - 204 - - 0.2763ms [2025-09-18 11:04:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - [2025-09-18 11:04:25 INF] CORS policy execution successful. [2025-09-18 11:04:25 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 11:04:25 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 11:04:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 11:04:25 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 11:04:25 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 11:04:25 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-18 11:04:25 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 35.2983ms [2025-09-18 11:04:25 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 11:04:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=189 - - - 200 - application/json;+charset=utf-8 35.7932ms [2025-09-18 11:04:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - [2025-09-18 11:04:26 INF] CORS policy execution successful. [2025-09-18 11:04:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - - 204 - - 0.2468ms [2025-09-18 11:04:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - [2025-09-18 11:04:26 INF] CORS policy execution successful. [2025-09-18 11:04:26 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 11:04: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-09-18 11:04:26 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-18 11:04:26 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 2.9792ms [2025-09-18 11:04:26 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 11:04:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - - 200 2091586 application/pdf 4.3711ms [2025-09-18 11:10:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - [2025-09-18 11:10:08 INF] CORS policy execution successful. [2025-09-18 11:10:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - - 204 - - 0.2805ms [2025-09-18 11:10:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - [2025-09-18 11:10:08 INF] CORS policy execution successful. [2025-09-18 11:10:08 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 11:10:08 INF] Route matched with {action = "GetFile", controller = "File"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetFile(System.String, System.String, Int32) on controller Web.Controllers.API.FileController (Web). [2025-09-18 11:10:08 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-18 11:10:08 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 6.5594ms [2025-09-18 11:10:08 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 11:10:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=langego8_68_280_umowa_najmu%2020.09.2024.pdf&id=189 - - - 200 2091586 application/pdf 7.2335ms [2025-09-18 11:14:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=567 - - [2025-09-18 11:14:19 INF] CORS policy execution successful. [2025-09-18 11:14:19 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=567 - - - 204 - - 0.2185ms [2025-09-18 11:14:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=567 - - [2025-09-18 11:14:19 INF] CORS policy execution successful. [2025-09-18 11:14:19 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-18 11:14: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-09-18 11:14:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 11:14:19 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 11:14: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-09-18 11:14:19 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-09-18 11:14:19 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 21.465ms [2025-09-18 11:14:19 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-18 11:14:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=567 - - - 200 - application/json;+charset=utf-8 22.0439ms [2025-09-18 11:14:21 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=langego8_68_280_pe%C5%82nomocnictwo28032020.pdf&id=567 - - [2025-09-18 11:14:21 INF] CORS policy execution successful. [2025-09-18 11:14:21 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=langego8_68_280_pe%C5%82nomocnictwo28032020.pdf&id=567 - - - 204 - - 0.2302ms [2025-09-18 11:14:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=langego8_68_280_pe%C5%82nomocnictwo28032020.pdf&id=567 - - [2025-09-18 11:14:21 INF] CORS policy execution successful. [2025-09-18 11:14:21 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 11:14:21 INF] Route matched with {action = "GetFile", controller = "File"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetFile(System.String, System.String, Int32) on controller Web.Controllers.API.FileController (Web). [2025-09-18 11:14:21 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-18 11:14:21 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 1.6953ms [2025-09-18 11:14:21 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 11:14:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=langego8_68_280_pe%C5%82nomocnictwo28032020.pdf&id=567 - - - 200 66357 application/pdf 2.3586ms [2025-09-18 11:14:31 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=langego8_68_280_pe%C5%82nomocnictwo28032020.pdf&id=567 - - [2025-09-18 11:14:31 INF] CORS policy execution successful. [2025-09-18 11:14:31 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=langego8_68_280_pe%C5%82nomocnictwo28032020.pdf&id=567 - - - 204 - - 0.2925ms [2025-09-18 11:14:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=langego8_68_280_pe%C5%82nomocnictwo28032020.pdf&id=567 - - [2025-09-18 11:14:31 INF] CORS policy execution successful. [2025-09-18 11:14:31 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 11:14:31 INF] Route matched with {action = "GetFile", controller = "File"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetFile(System.String, System.String, Int32) on controller Web.Controllers.API.FileController (Web). [2025-09-18 11:14:31 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-18 11:14:31 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 0.7008ms [2025-09-18 11:14:31 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 11:14:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=langego8_68_280_pe%C5%82nomocnictwo28032020.pdf&id=567 - - - 200 66357 application/pdf 1.2652ms [2025-09-18 11:19:47 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=langego8_68_280_pe%C5%82nomocnictwo28032020.pdf&id=567 - - [2025-09-18 11:19:47 INF] CORS policy execution successful. [2025-09-18 11:19:47 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=langego8_68_280_pe%C5%82nomocnictwo28032020.pdf&id=567 - - - 204 - - 0.2658ms [2025-09-18 11:19:47 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=langego8_68_280_pe%C5%82nomocnictwo28032020.pdf&id=567 - - [2025-09-18 11:19:47 INF] CORS policy execution successful. [2025-09-18 11:19:47 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 11:19:47 INF] Route matched with {action = "GetFile", controller = "File"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetFile(System.String, System.String, Int32) on controller Web.Controllers.API.FileController (Web). [2025-09-18 11:19:47 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-18 11:19:47 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 0.4243ms [2025-09-18 11:19:47 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 11:19:47 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=langego8_68_280_pe%C5%82nomocnictwo28032020.pdf&id=567 - - - 200 66357 application/pdf 0.9791ms [2025-09-18 11:20:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=232 - - [2025-09-18 11:20:02 INF] CORS policy execution successful. [2025-09-18 11:20:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=232 - - - 204 - - 0.2273ms [2025-09-18 11:20:02 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=232 - - [2025-09-18 11:20:02 INF] CORS policy execution successful. [2025-09-18 11:20:02 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-18 11:20:02 INF] Route matched with {action = "GetById", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-18 11:20:02 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 11:20:02 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 11:20:02 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a WHERE a."Id" = @__p_0 LIMIT 1 [2025-09-18 11:20:02 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-09-18 11:20:02 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 22.5232ms [2025-09-18 11:20:02 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-18 11:20:02 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=232 - - - 200 - application/json;+charset=utf-8 23.1291ms [2025-09-18 11:20:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=langego8_68_280_umowa_zarzA%CC%88%C2%85dzanie23022020.pdf&id=232 - - [2025-09-18 11:20:03 INF] CORS policy execution successful. [2025-09-18 11:20:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=langego8_68_280_umowa_zarzA%CC%88%C2%85dzanie23022020.pdf&id=232 - - - 204 - - 0.2459ms [2025-09-18 11:20:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=langego8_68_280_umowa_zarzA%CC%88%C2%85dzanie23022020.pdf&id=232 - - [2025-09-18 11:20:03 INF] CORS policy execution successful. [2025-09-18 11:20:03 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 11:20: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-09-18 11:20:03 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-18 11:20:03 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 6.6361ms [2025-09-18 11:20:03 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 11:20:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=langego8_68_280_umowa_zarzA%CC%88%C2%85dzanie23022020.pdf&id=232 - - - 200 755185 application/pdf 7.2013ms [2025-09-18 12:17:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-09-18 12:17:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.2295ms [2025-09-18 12:44:00 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-09-18 12:44:00 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 0.2283ms [2025-09-18 13:15:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 13:15:08 INF] CORS policy execution successful. [2025-09-18 13:15:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2728ms [2025-09-18 14:13:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 14:13:49 INF] CORS policy execution successful. [2025-09-18 14:13:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.1882ms [2025-09-18 14:17:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 14:17:04 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 14:17:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.3070ms [2025-09-18 14:17:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 14:17:04 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 14:17:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.2896ms [2025-09-18 14:17:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 14:17:04 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 14:17:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.2049ms [2025-09-18 14:17:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 14:17:04 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 14:17:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.5077ms [2025-09-18 14:17:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 14:17:08 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 14:17:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.3327ms [2025-09-18 14:17:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 14:17:08 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 14:17:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.2748ms [2025-09-18 14:17:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 14:17:08 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 14:17:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.2673ms [2025-09-18 14:17:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 14:17:08 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 14:17:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.3934ms [2025-09-18 14:17:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 14:17:26 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 14:17:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.3206ms [2025-09-18 14:17:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 14:17:26 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 14:17:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.4850ms [2025-09-18 14:17:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 14:17:26 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 14:17:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.3609ms [2025-09-18 14:17:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 14:17:26 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 14:17:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.2974ms [2025-09-18 14:17:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-09-18 14:17:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 4.7157ms [2025-09-18 14:29:52 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 14:29:52 INF] CORS policy execution successful. [2025-09-18 14:29:52 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2838ms [2025-09-18 19:27:28 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-09-18 19:27:28 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 0.2299ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=6 - - - 204 - - 0.2069ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=6 - - [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=6 - - - 204 - - 0.1050ms [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=6 - - - 204 - - 0.0783ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0642ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=6 - - - 204 - - 0.2201ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=6 - - - 204 - - 0.1868ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=6 - - - 204 - - 0.1111ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=6 - - - 204 - - 0.0879ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1020ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.8558ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2243ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=6 - - - 204 - - 0.2014ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=6 - - - 204 - - 0.1156ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 20:57: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-09-18 20:57:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:57: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-09-18 20:57:34 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 20:57: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-09-18 20:57:34 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 18.3458ms [2025-09-18 20:57:34 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=6 - - - 200 - application/json;+charset=utf-8 18.9012ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 20:57: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-09-18 20:57:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:57: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-09-18 20:57:34 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 20:57: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-09-18 20:57:34 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 13.9548ms [2025-09-18 20:57:34 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=6 - - - 200 - application/json;+charset=utf-8 14.3966ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 20:57: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-09-18 20:57:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:57: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-09-18 20:57:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 20:57: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-09-18 20:57:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:57: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-09-18 20:57:34 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-18 20:57: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-09-18 20:57:34 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 27.587ms [2025-09-18 20:57:34 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=6 - - - 200 - application/json;+charset=utf-8 28.0364ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 20:57: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-09-18 20:57:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:57: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-09-18 20:57:34 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 20:57: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-09-18 20:57:34 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 16.4148ms [2025-09-18 20:57:34 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=6 - - - 200 - application/json;+charset=utf-8 16.8935ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 20:57: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-09-18 20:57:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:57: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-09-18 20:57:34 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 20:57: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-09-18 20:57:34 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 28.9891ms [2025-09-18 20:57:34 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=6 - - - 200 - application/json;+charset=utf-8 29.4649ms [2025-09-18 20:57:34 INF] Executed DbCommand (75ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 20:57: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-09-18 20:57:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 20:57: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-09-18 20:57:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:57: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-09-18 20:57:34 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 20:57: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-09-18 20:57:34 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 14.894ms [2025-09-18 20:57:34 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=6 - - - 200 - application/json;+charset=utf-8 15.5586ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 20:57: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-09-18 20:57:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:57: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-09-18 20:57:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 20:57: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-09-18 20:57:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:57: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-09-18 20:57:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 20:57: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-09-18 20:57:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:57: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-09-18 20:57:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 20:57: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-09-18 20:57:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:57: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-09-18 20:57:34 INF] Executed DbCommand (69ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 20:57:34 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 20:57:34 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 85.1816ms [2025-09-18 20:57:34 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=6 - - - 200 - application/json;+charset=utf-8 85.7570ms [2025-09-18 20:57:34 INF] Executed DbCommand (54ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-18 20:57: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-09-18 20:57:34 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 77.1756ms [2025-09-18 20:57:34 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 77.7757ms [2025-09-18 20:57:34 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-09-18 20:57: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-09-18 20:57:34 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 64.7562ms [2025-09-18 20:57:34 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 65.2197ms [2025-09-18 20:57:34 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-09-18 20:57: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-09-18 20:57:34 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 41.4844ms [2025-09-18 20:57:34 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 42.0195ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 20:57: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-09-18 20:57:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:57: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-09-18 20:57:34 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-18 20:57: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-09-18 20:57:34 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 52.2407ms [2025-09-18 20:57:34 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=6 - - - 200 - application/json;+charset=utf-8 52.6976ms [2025-09-18 20:57:34 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 279.2654ms [2025-09-18 20:57:34 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 279.7021ms [2025-09-18 20:57:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=6 - - [2025-09-18 20:57:34 INF] CORS policy execution successful. [2025-09-18 20:57:34 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 20:57: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-09-18 20:57:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:57: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-09-18 20:57: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-09-18 20:57:34 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 20:57:34 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 15.8335ms [2025-09-18 20:57:34 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 20:57:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=6 - - - 200 - application/json;+charset=utf-8 16.2949ms [2025-09-18 20:57:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=2 - - [2025-09-18 20:57:42 INF] CORS policy execution successful. [2025-09-18 20:57:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=2 - - - 204 - - 0.2059ms [2025-09-18 20:57:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=2 - - [2025-09-18 20:57:42 INF] CORS policy execution successful. [2025-09-18 20:57:42 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 20:57:42 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 20:57:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:57:42 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 20:57: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-09-18 20:57:42 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-18 20:57:42 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 32.7917ms [2025-09-18 20:57:42 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 20:57:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=2 - - - 200 - application/json;+charset=utf-8 33.4854ms [2025-09-18 20:59:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 20:59:07 INF] CORS policy execution successful. [2025-09-18 20:59:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2391ms [2025-09-18 20:59:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 20:59:07 INF] CORS policy execution successful. [2025-09-18 20:59:07 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 20:59: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-09-18 20:59:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:59: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-09-18 20:59: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-09-18 20:59:07 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 20:59: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-09-18 20:59:07 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 59.654ms [2025-09-18 20:59:07 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 20:59:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 60.3199ms [2025-09-18 20:59:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=10 - - [2025-09-18 20:59:28 INF] CORS policy execution successful. [2025-09-18 20:59:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=10 - - - 204 - - 0.2782ms [2025-09-18 20:59:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=10 - - [2025-09-18 20:59:28 INF] CORS policy execution successful. [2025-09-18 20:59:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=10 - - - 204 - - 0.0859ms [2025-09-18 20:59:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=10 - - [2025-09-18 20:59:28 INF] CORS policy execution successful. [2025-09-18 20:59:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=10 - - - 204 - - 0.2198ms [2025-09-18 20:59:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 20:59:28 INF] CORS policy execution successful. [2025-09-18 20:59:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0804ms [2025-09-18 20:59:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=10 - - [2025-09-18 20:59:28 INF] CORS policy execution successful. [2025-09-18 20:59:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=10 - - - 204 - - 0.0811ms [2025-09-18 20:59:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=10 - - [2025-09-18 20:59:28 INF] CORS policy execution successful. [2025-09-18 20:59:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=10 - - - 204 - - 0.1131ms [2025-09-18 20:59:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=10 - - [2025-09-18 20:59:28 INF] CORS policy execution successful. [2025-09-18 20:59:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=10 - - - 204 - - 0.5446ms [2025-09-18 20:59:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=10 - - [2025-09-18 20:59:28 INF] CORS policy execution successful. [2025-09-18 20:59:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=10 - - - 204 - - 0.1100ms [2025-09-18 20:59:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=10 - - [2025-09-18 20:59:28 INF] CORS policy execution successful. [2025-09-18 20:59:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=10 - - - 204 - - 0.5042ms [2025-09-18 20:59:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=10 - - [2025-09-18 20:59:28 INF] CORS policy execution successful. [2025-09-18 20:59:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=10 - - - 204 - - 0.0899ms [2025-09-18 20:59:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 20:59:28 INF] CORS policy execution successful. [2025-09-18 20:59:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0927ms [2025-09-18 20:59:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 20:59:28 INF] CORS policy execution successful. [2025-09-18 20:59:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0724ms [2025-09-18 20:59:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 20:59:28 INF] CORS policy execution successful. [2025-09-18 20:59:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2738ms [2025-09-18 20:59:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=10 - - [2025-09-18 20:59:28 INF] CORS policy execution successful. [2025-09-18 20:59:28 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 20:59:28 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 20:59:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:59: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-09-18 20:59:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=10 - - [2025-09-18 20:59:28 INF] CORS policy execution successful. [2025-09-18 20:59:28 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 20:59:28 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-18 20:59:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:59:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=10 - - [2025-09-18 20:59:29 INF] CORS policy execution successful. [2025-09-18 20:59:29 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 20:59: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-09-18 20:59:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:59:29 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 20:59:29 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-18 20:59: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-09-18 20:59:29 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 17.4362ms [2025-09-18 20:59:29 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 20:59:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=10 - - - 200 - application/json;+charset=utf-8 18.0372ms [2025-09-18 20:59:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=10 - - [2025-09-18 20:59:30 INF] CORS policy execution successful. [2025-09-18 20:59:30 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 20:59:30 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-18 20:59:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:59:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 20:59:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 20:59:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 20:59:30 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 13.4968ms [2025-09-18 20:59:30 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 20:59:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=10 - - - 200 - application/json;+charset=utf-8 14.0580ms [2025-09-18 20:59:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=10 - - [2025-09-18 20:59:30 INF] CORS policy execution successful. [2025-09-18 20:59:30 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 20:59:30 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-18 20:59:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:59:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 20:59:30 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 20:59:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 20:59:30 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 12.8734ms [2025-09-18 20:59:30 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 20:59:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=10 - - - 200 - application/json;+charset=utf-8 13.2929ms [2025-09-18 20:59:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 20:59:30 INF] CORS policy execution successful. [2025-09-18 20:59:30 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 20:59:30 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 20:59:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:59:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 20:59:30 INF] Executed DbCommand (2,003ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 20:59:30 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 20:59:30 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 2024.6813ms [2025-09-18 20:59:30 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 20:59:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=10 - - - 200 - application/json;+charset=utf-8 2025.1569ms [2025-09-18 20:59:30 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 20:59:30 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 20:59:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 20:59:30 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-18 20:59:30 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 42.36ms [2025-09-18 20:59:30 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 20:59:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 42.8598ms [2025-09-18 20:59:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=10 - - [2025-09-18 20:59:30 INF] CORS policy execution successful. [2025-09-18 20:59:30 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 20:59:30 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-18 20:59:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:59:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 20:59:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 20:59:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 20:59:30 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 16.9078ms [2025-09-18 20:59:30 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 20:59:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=10 - - - 200 - application/json;+charset=utf-8 17.8081ms [2025-09-18 20:59:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=10 - - [2025-09-18 20:59:30 INF] CORS policy execution successful. [2025-09-18 20:59:30 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 20:59:30 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 20:59:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:59:30 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 20:59:30 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 20:59:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 20:59:30 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 2083.3813ms [2025-09-18 20:59:30 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 20:59:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=10 - - - 200 - application/json;+charset=utf-8 2083.9938ms [2025-09-18 20:59:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=10 - - [2025-09-18 20:59:30 INF] CORS policy execution successful. [2025-09-18 20:59:30 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 20:59:30 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 20:59:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:59:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 20:59:30 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 34.6688ms [2025-09-18 20:59:30 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 20:59:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=10 - - - 200 - application/json;+charset=utf-8 35.1705ms [2025-09-18 20:59:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 20:59:30 INF] CORS policy execution successful. [2025-09-18 20:59:30 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 20:59: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-09-18 20:59:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:59:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 20:59:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 20:59:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 20:59:30 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 14.8293ms [2025-09-18 20:59:30 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 20:59:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=10 - - - 200 - application/json;+charset=utf-8 15.3636ms [2025-09-18 20:59:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 20:59:30 INF] CORS policy execution successful. [2025-09-18 20:59:30 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 20:59:30 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-18 20:59:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:59:30 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 20:59:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 20:59:30 INF] CORS policy execution successful. [2025-09-18 20:59:30 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 20:59: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-09-18 20:59:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:59:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 20:59:30 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-18 20:59: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-09-18 20:59:30 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 33.2455ms [2025-09-18 20:59:30 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 20:59:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 33.6580ms [2025-09-18 20:59:30 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 20:59:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 20:59:30 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 27.0551ms [2025-09-18 20:59:30 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 20:59:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 29.4774ms [2025-09-18 20:59:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=10 - - [2025-09-18 20:59:30 INF] CORS policy execution successful. [2025-09-18 20:59:30 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 20:59:30 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 20:59:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:59:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 20:59:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 20:59: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-09-18 20:59:30 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 23.8414ms [2025-09-18 20:59:30 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 20:59:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 24.3208ms [2025-09-18 20:59:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 20:59:30 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 20:59:30 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 20:59:30 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 15.979ms [2025-09-18 20:59:30 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 20:59:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=10 - - - 200 - application/json;+charset=utf-8 16.3812ms [2025-09-18 20:59:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 20:59:34 INF] CORS policy execution successful. [2025-09-18 20:59:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2302ms [2025-09-18 20:59:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 20:59:34 INF] CORS policy execution successful. [2025-09-18 20:59:34 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 20:59:34 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 20:59:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 20:59: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-09-18 20:59:34 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 20:59: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-09-18 20:59:34 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 20:59:34 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 56.2394ms [2025-09-18 20:59:34 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 20:59:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 57.0009ms [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=204 - - [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=204 - - - 204 - - 0.3272ms [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=204 - - [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=204 - - - 204 - - 0.1210ms [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=204 - - [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=204 - - [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=204 - - - 204 - - 0.1066ms [2025-09-18 21:35:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=204 - - - 204 - - 0.1117ms [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=204 - - [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=204 - - - 204 - - 1.1211ms [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 1.2757ms [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2673ms [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1787ms [2025-09-18 21:35:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1868ms [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=204 - - [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=204 - - - 204 - - 0.1309ms [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=204 - - [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=204 - - - 204 - - 0.1112ms [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=204 - - [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=204 - - - 204 - - 0.1069ms [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=204 - - [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=204 - - - 204 - - 0.1862ms [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=204 - - [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=204 - - [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:35:59 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:35: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-09-18 21:35:59 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 21:35:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:35:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=204 - - [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:35:59 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-18 21:35:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=204 - - [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:35:59 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 21:35:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:35:59 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-18 21:35:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:35:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:35:59 INF] CORS policy execution successful. [2025-09-18 21:35:59 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:35:59 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:35:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:35: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-09-18 21:35:59 INF] Executed DbCommand (14ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:36:00 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:36:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:36:00 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 111.3106ms [2025-09-18 21:36:00 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:36:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=204 - - - 200 - application/json;+charset=utf-8 112.0281ms [2025-09-18 21:36:00 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:36:00 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:36:00 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:36:00 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 21:36:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:36:00 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 114.463ms [2025-09-18 21:36:00 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:36:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=204 - - - 200 - application/json;+charset=utf-8 115.0351ms [2025-09-18 21:36:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=204 - - [2025-09-18 21:36:00 INF] CORS policy execution successful. [2025-09-18 21:36:00 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:36:00 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-18 21:36:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:36:00 INF] Executed DbCommand (23ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:36:00 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-09-18 21:36:00 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:36:00 INF] Executed DbCommand (27ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-18 21:36: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-09-18 21:36:00 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:36:00 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 146.3534ms [2025-09-18 21:36:00 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:36:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=204 - - - 200 - application/json;+charset=utf-8 146.8409ms [2025-09-18 21:36:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:36:00 INF] CORS policy execution successful. [2025-09-18 21:36:00 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:36:00 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-18 21:36:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:36:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=204 - - [2025-09-18 21:36:00 INF] CORS policy execution successful. [2025-09-18 21:36:00 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:36:00 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-18 21:36:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:36:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:36:00 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:36:00 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 175.9317ms [2025-09-18 21:36:00 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:36:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 176.9684ms [2025-09-18 21:36:00 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 21:36:00 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:36:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:36:00 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 68.0548ms [2025-09-18 21:36:00 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:36:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=204 - - - 200 - application/json;+charset=utf-8 68.6766ms [2025-09-18 21:36:00 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:36:00 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 21:36:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:36:00 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 44.6579ms [2025-09-18 21:36:00 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:36:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 45.1121ms [2025-09-18 21:36:00 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 21:36:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:36:00 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 28.3547ms [2025-09-18 21:36:00 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:36:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=204 - - - 200 - application/json;+charset=utf-8 28.9667ms [2025-09-18 21:36:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:36:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=204 - - [2025-09-18 21:36:00 INF] CORS policy execution successful. [2025-09-18 21:36:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:36:00 INF] CORS policy execution successful. [2025-09-18 21:36:00 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:36:00 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-18 21:36:00 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:36:00 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-18 21:36:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:36:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:36:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=204 - - [2025-09-18 21:36:00 INF] CORS policy execution successful. [2025-09-18 21:36:00 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:36: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-09-18 21:36:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:36:00 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 191.7311ms [2025-09-18 21:36:00 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:36:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 192.3437ms [2025-09-18 21:36:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=204 - - [2025-09-18 21:36:00 INF] CORS policy execution successful. [2025-09-18 21:36:00 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:36: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-09-18 21:36:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:36:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:36:00 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 232.1023ms [2025-09-18 21:36:00 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:36:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=204 - - - 200 - application/json;+charset=utf-8 232.9389ms [2025-09-18 21:36:00 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:36:00 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:36:00 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-09-18 21:36:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:36: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-09-18 21:36:00 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:36: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-09-18 21:36:00 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:36:00 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 33.7708ms [2025-09-18 21:36:00 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:36:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=204 - - - 200 - application/json;+charset=utf-8 34.5128ms [2025-09-18 21:36:00 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-09-18 21:36:00 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-18 21:36:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:36:00 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 49.5692ms [2025-09-18 21:36:00 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:36:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=204 - - - 200 - application/json;+charset=utf-8 50.2220ms [2025-09-18 21:36: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-09-18 21:36:00 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 50.6692ms [2025-09-18 21:36:00 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 49.886ms [2025-09-18 21:36:00 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:36:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=204 - - - 200 - application/json;+charset=utf-8 50.3796ms [2025-09-18 21:36:00 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:36:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 51.6126ms [2025-09-18 21:38:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:38:19 INF] CORS policy execution successful. [2025-09-18 21:38:19 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2204ms [2025-09-18 21:38:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:38:19 INF] CORS policy execution successful. [2025-09-18 21:38:19 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:38: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-09-18 21:38:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:38:19 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:38:19 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:38:19 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:38: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-09-18 21:38:19 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 61.281ms [2025-09-18 21:38:19 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:38:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 62.0429ms [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=222 - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=222 - - - 204 - - 0.2192ms [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=222 - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=222 - - - 204 - - 0.6252ms [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=222 - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=222 - - - 204 - - 0.4852ms [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1279ms [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=222 - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=222 - - - 204 - - 0.2498ms [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=222 - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=222 - - - 204 - - 0.1281ms [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=222 - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=222 - - - 204 - - 0.1163ms [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=222 - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=222 - - - 204 - - 0.0906ms [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=222 - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=222 - - - 204 - - 0.1572ms [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=222 - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=222 - - - 204 - - 0.1017ms [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:38:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.4102ms [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.3603ms [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1027ms [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=222 - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:38: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-09-18 21:38:27 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=222 - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:38: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-09-18 21:38:27 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=222 - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:38:27 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=222 - - [2025-09-18 21:38:27 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:38:27 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:38:27 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-18 21:38:27 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:38:27 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:38:27 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:38:27 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=222 - - [2025-09-18 21:38:27 INF] CORS policy execution successful. [2025-09-18 21:38:27 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:38:27 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-18 21:38:27 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:38:27 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:38:27 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 21:38:27 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:38:27 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 222.0207ms [2025-09-18 21:38:27 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:38:27 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=222 - - - 200 - application/json;+charset=utf-8 222.4627ms [2025-09-18 21:38:27 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:38:27 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-18 21:38: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-09-18 21:38:27 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 439.162ms [2025-09-18 21:38:27 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:38:27 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=222 - - - 200 - application/json;+charset=utf-8 439.6471ms [2025-09-18 21:38:27 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:38: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-09-18 21:38:28 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 21:38:28 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:38:28 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 778.2935ms [2025-09-18 21:38:28 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:38:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=222 - - - 200 - application/json;+charset=utf-8 779.0634ms [2025-09-18 21:38: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-09-18 21:38:28 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 21:38: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-09-18 21:38:28 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 954.9653ms [2025-09-18 21:38:28 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:38:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=222 - - - 200 - application/json;+charset=utf-8 955.5525ms [2025-09-18 21:38:28 INF] Executed DbCommand (376ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:38: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-09-18 21:38:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=222 - - [2025-09-18 21:38:28 INF] CORS policy execution successful. [2025-09-18 21:38:28 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:38: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-09-18 21:38:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:38: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-09-18 21:38: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-09-18 21:38: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-09-18 21:38:28 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 14.1698ms [2025-09-18 21:38:28 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:38:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=222 - - - 200 - application/json;+charset=utf-8 14.6745ms [2025-09-18 21:38:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=222 - - [2025-09-18 21:38:28 INF] CORS policy execution successful. [2025-09-18 21:38:28 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:38: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-09-18 21:38:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:38: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-09-18 21:38: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-09-18 21:38: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-09-18 21:38:28 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 29.0152ms [2025-09-18 21:38:28 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:38:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=222 - - - 200 - application/json;+charset=utf-8 29.5976ms [2025-09-18 21:38:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=222 - - [2025-09-18 21:38:28 INF] CORS policy execution successful. [2025-09-18 21:38:28 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:38:28 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 21:38:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:38: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-09-18 21:38:28 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 21:38:28 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:38:28 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 13.8829ms [2025-09-18 21:38:28 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:38:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=222 - - - 200 - application/json;+charset=utf-8 14.4798ms [2025-09-18 21:38:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:38:28 INF] CORS policy execution successful. [2025-09-18 21:38:28 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:38:28 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-18 21:38:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:38: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-09-18 21:38:28 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-18 21:38:28 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:38:28 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 26.2953ms [2025-09-18 21:38:28 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:38:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 26.8406ms [2025-09-18 21:38:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:38:28 INF] CORS policy execution successful. [2025-09-18 21:38:28 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:38:28 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-18 21:38:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:38: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-09-18 21:38:28 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 21:38:28 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:38:28 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 20.2615ms [2025-09-18 21:38:28 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:38:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 20.9320ms [2025-09-18 21:38:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:38:28 INF] CORS policy execution successful. [2025-09-18 21:38:28 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:38:28 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-18 21:38:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:38: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-09-18 21:38:28 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 21:38:28 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:38:28 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 16.7205ms [2025-09-18 21:38:28 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:38:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 17.2492ms [2025-09-18 21:38:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=222 - - [2025-09-18 21:38:28 INF] CORS policy execution successful. [2025-09-18 21:38:28 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:38:28 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:38:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:38: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-09-18 21:38:28 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 1127.6876ms [2025-09-18 21:38:28 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:38:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 1128.5045ms [2025-09-18 21:38:28 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 21:38:28 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:38:28 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 18.5486ms [2025-09-18 21:38:28 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:38:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=222 - - - 200 - application/json;+charset=utf-8 19.1013ms [2025-09-18 21:38: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-09-18 21:38: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-09-18 21:38: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-09-18 21:38:28 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 1185.8498ms [2025-09-18 21:38:28 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:38:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=222 - - - 200 - application/json;+charset=utf-8 1193.8590ms [2025-09-18 21:38:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=364 - - [2025-09-18 21:38:39 INF] CORS policy execution successful. [2025-09-18 21:38:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=364 - - - 204 - - 0.2419ms [2025-09-18 21:38:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=364 - - [2025-09-18 21:38:39 INF] CORS policy execution successful. [2025-09-18 21:38:39 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 21:38:39 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 21:38:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:38:39 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:38:39 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:38:39 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-18 21:38:39 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 28.8557ms [2025-09-18 21:38:39 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-18 21:38:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=364 - - - 200 - application/json;+charset=utf-8 29.4473ms [2025-09-18 21:38:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=plac_Konesera%206_97_282_umowa%20najmu_02082025.pdf&id=364 - - [2025-09-18 21:38:42 INF] CORS policy execution successful. [2025-09-18 21:38:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=plac_Konesera%206_97_282_umowa%20najmu_02082025.pdf&id=364 - - - 204 - - 0.2235ms [2025-09-18 21:38:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=plac_Konesera%206_97_282_umowa%20najmu_02082025.pdf&id=364 - - [2025-09-18 21:38:42 INF] CORS policy execution successful. [2025-09-18 21:38:42 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 21:38:42 INF] Route matched with {action = "GetFile", controller = "File"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetFile(System.String, System.String, Int32) on controller Web.Controllers.API.FileController (Web). [2025-09-18 21:38:42 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-18 21:38:42 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 1.0991ms [2025-09-18 21:38:42 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-18 21:38:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=plac_Konesera%206_97_282_umowa%20najmu_02082025.pdf&id=364 - - - 200 540900 application/pdf 1.6877ms [2025-09-18 21:39:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 21:39:04 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 21:39:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.9471ms [2025-09-18 21:39:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 21:39:04 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 21:39:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.1762ms [2025-09-18 21:39:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 21:39:04 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 21:39:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.2628ms [2025-09-18 21:39:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 21:39:04 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 21:39:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.2972ms [2025-09-18 21:40:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:40:46 INF] CORS policy execution successful. [2025-09-18 21:40:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2607ms [2025-09-18 21:40:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:40:46 INF] CORS policy execution successful. [2025-09-18 21:40:46 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:40:46 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:40:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:40:46 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:40:46 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:40:46 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:40:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:40:46 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 61.7993ms [2025-09-18 21:40:46 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:40:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 62.4956ms [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=225 - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=225 - - - 204 - - 0.2380ms [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=225 - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=225 - - - 204 - - 0.2741ms [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2945ms [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=225 - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=225 - - - 204 - - 0.2010ms [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=225 - - [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=225 - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=225 - - - 204 - - 0.3033ms [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=225 - - - 204 - - 0.2053ms [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=225 - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=225 - - - 204 - - 0.1198ms [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=225 - - [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=225 - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=225 - - - 204 - - 0.2972ms [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=225 - - - 204 - - 0.3666ms [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=225 - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=225 - - - 204 - - 0.1227ms [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1981ms [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.2264ms [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1999ms [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=225 - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:40:49 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:40:49 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=225 - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:40:49 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-18 21:40:49 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=225 - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:40:49 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-18 21:40:49 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:40:49 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:40:49 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:40:49 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=225 - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:40:49 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-18 21:40:49 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=225 - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:40:49 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-18 21:40:49 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:40:49 INF] Executed DbCommand (23ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 21:40:49 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:40:49 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 40.8135ms [2025-09-18 21:40:49 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=225 - - - 200 - application/json;+charset=utf-8 42.4810ms [2025-09-18 21:40:49 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:40:49 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-09-18 21:40:49 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-18 21:40:49 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:40:49 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 36.948ms [2025-09-18 21:40:49 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=225 - - - 200 - application/json;+charset=utf-8 37.4537ms [2025-09-18 21:40:49 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=225 - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:40:49 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=225 - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:40:49 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 21:40:49 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:40:49 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:40:49 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:40:49 INF] Executed DbCommand (10ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:40:49 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 21:40:49 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:40:49 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:40:49 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 63.0145ms [2025-09-18 21:40:49 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=225 - - - 200 - application/json;+charset=utf-8 63.8401ms [2025-09-18 21:40:49 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:40:49 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 21:40:49 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:40:49 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 59.1686ms [2025-09-18 21:40:49 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=225 - - - 200 - application/json;+charset=utf-8 61.2153ms [2025-09-18 21:40:49 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=225 - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:40: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-09-18 21:40:49 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:40:49 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-18 21:40:49 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:40:49 INF] Executed DbCommand (31ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 21:40:49 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:40:49 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:40:49 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:40:49 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 71.5465ms [2025-09-18 21:40:49 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=225 - - - 200 - application/json;+charset=utf-8 71.8690ms [2025-09-18 21:40:49 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 21:40:49 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:40:49 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 75.5967ms [2025-09-18 21:40:49 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=225 - - - 200 - application/json;+charset=utf-8 76.1156ms [2025-09-18 21:40:49 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 120.9178ms [2025-09-18 21:40:49 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 121.5288ms [2025-09-18 21:40:49 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:40:49 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-18 21:40:49 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:40:49 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-18 21:40:49 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:40:49 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:40:49 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-09-18 21:40:49 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:40:49 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 170.7402ms [2025-09-18 21:40:49 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=225 - - - 200 - application/json;+charset=utf-8 171.2553ms [2025-09-18 21:40:49 INF] Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:40: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-09-18 21:40:49 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:40:49 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-09-18 21:40:49 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:40:49 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 32.079ms [2025-09-18 21:40:49 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 34.7429ms [2025-09-18 21:40:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=225 - - [2025-09-18 21:40:49 INF] CORS policy execution successful. [2025-09-18 21:40:49 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:40:49 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:40:49 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 21:40:49 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:40:49 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:40:49 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 46.1702ms [2025-09-18 21:40:49 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 49.5899ms [2025-09-18 21:40:49 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:40:49 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 90.7516ms [2025-09-18 21:40:49 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 91.4652ms [2025-09-18 21:40: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-09-18 21:40:49 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 21:40:49 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:40:49 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 23.7189ms [2025-09-18 21:40:49 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=225 - - - 200 - application/json;+charset=utf-8 24.1772ms [2025-09-18 21:40: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-09-18 21:40:49 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 107.0708ms [2025-09-18 21:40:49 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:40:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=225 - - - 200 - application/json;+charset=utf-8 107.6225ms [2025-09-18 21:41:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:41:41 INF] CORS policy execution successful. [2025-09-18 21:41:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2549ms [2025-09-18 21:41:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:41:41 INF] CORS policy execution successful. [2025-09-18 21:41:41 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:41:41 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:41:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:41:41 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:41:41 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:41:41 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:41:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:41:41 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 60.1845ms [2025-09-18 21:41:41 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:41:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 60.9469ms [2025-09-18 21:41:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=227 - - [2025-09-18 21:41:43 INF] CORS policy execution successful. [2025-09-18 21:41:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=227 - - - 204 - - 0.2327ms [2025-09-18 21:41:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=227 - - [2025-09-18 21:41:43 INF] CORS policy execution successful. [2025-09-18 21:41:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=227 - - - 204 - - 0.2035ms [2025-09-18 21:41:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:41:43 INF] CORS policy execution successful. [2025-09-18 21:41:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1914ms [2025-09-18 21:41:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=227 - - [2025-09-18 21:41:43 INF] CORS policy execution successful. [2025-09-18 21:41:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=227 - - - 204 - - 0.1445ms [2025-09-18 21:41:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=227 - - [2025-09-18 21:41:43 INF] CORS policy execution successful. [2025-09-18 21:41:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=227 - - [2025-09-18 21:41:43 INF] CORS policy execution successful. [2025-09-18 21:41:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=227 - - - 204 - - 0.0993ms [2025-09-18 21:41:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=227 - - [2025-09-18 21:41:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=227 - - - 204 - - 0.0652ms [2025-09-18 21:41:43 INF] CORS policy execution successful. [2025-09-18 21:41:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=227 - - - 204 - - 0.0794ms [2025-09-18 21:41:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=227 - - [2025-09-18 21:41:43 INF] CORS policy execution successful. [2025-09-18 21:41:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=227 - - - 204 - - 0.0838ms [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=227 - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=227 - - - 204 - - 0.2164ms [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2978ms [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0887ms [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0939ms [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=227 - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=227 - - - 204 - - 0.8738ms [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=227 - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:41:44 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:41:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=227 - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:41:44 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-18 21:41:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=227 - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:41:44 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-18 21:41:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:41:44 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:41:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=227 - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:41:44 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-18 21:41:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=227 - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:41:44 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-18 21:41:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:41:44 INF] Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:41:44 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:41:44 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-09-18 21:41:44 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:41:44 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 44.1281ms [2025-09-18 21:41:44 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=227 - - - 200 - application/json;+charset=utf-8 44.6453ms [2025-09-18 21:41: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-09-18 21:41:44 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-09-18 21:41:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:41:44 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 38.1353ms [2025-09-18 21:41:44 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=227 - - - 200 - application/json;+charset=utf-8 38.6966ms [2025-09-18 21:41:44 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 21:41:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:41:44 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 39.0845ms [2025-09-18 21:41:44 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=227 - - - 200 - application/json;+charset=utf-8 39.7843ms [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=227 - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:41:44 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:41: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-09-18 21:41:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:41:44 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-09-18 21:41:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:41:44 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 39.0058ms [2025-09-18 21:41:44 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=227 - - - 200 - application/json;+charset=utf-8 39.6861ms [2025-09-18 21:41:44 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:41: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-09-18 21:41:44 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=227 - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:41:44 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 21:41:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=227 - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:41:44 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-18 21:41:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:41:44 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 21:41:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:41:44 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-09-18 21:41:44 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:41: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-09-18 21:41: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-09-18 21:41:44 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 47.1811ms [2025-09-18 21:41:44 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=227 - - - 200 - application/json;+charset=utf-8 48.2964ms [2025-09-18 21:41:44 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:41:44 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 21:41:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:41:44 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 42.853ms [2025-09-18 21:41:44 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=227 - - - 200 - application/json;+charset=utf-8 43.3709ms [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:41:44 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:41:44 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-18 21:41:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:41:44 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:41:44 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-18 21:41:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:41:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:41:44 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:41:44 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:41:44 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:41:44 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-09-18 21:41:44 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 83.8028ms [2025-09-18 21:41:44 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 84.7241ms [2025-09-18 21:41:44 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:41:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:41:44 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 45.0347ms [2025-09-18 21:41:44 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 46.2905ms [2025-09-18 21:41:44 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 21:41:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:41:44 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 37.5273ms [2025-09-18 21:41:44 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 38.7859ms [2025-09-18 21:41:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:41:44 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 160.443ms [2025-09-18 21:41:44 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 161.0288ms [2025-09-18 21:41:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:41:44 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 99.4757ms [2025-09-18 21:41:44 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=227 - - - 200 - application/json;+charset=utf-8 102.9522ms [2025-09-18 21:41:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=227 - - [2025-09-18 21:41:44 INF] CORS policy execution successful. [2025-09-18 21:41:44 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:41:44 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:41:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:41:44 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:41:44 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 173.5502ms [2025-09-18 21:41:44 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=227 - - - 200 - application/json;+charset=utf-8 174.3360ms [2025-09-18 21:41:44 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:41:44 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 21:41:44 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:41:44 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 20.216ms [2025-09-18 21:41:44 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:41:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=227 - - - 200 - application/json;+charset=utf-8 21.1664ms [2025-09-18 21:43:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:43:49 INF] CORS policy execution successful. [2025-09-18 21:43:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2462ms [2025-09-18 21:43:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:43:49 INF] CORS policy execution successful. [2025-09-18 21:43:49 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:43:49 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:43:49 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:43:49 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:43:49 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:43: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-09-18 21:43:49 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:43:49 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 58.2999ms [2025-09-18 21:43:49 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:43:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 58.9012ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=233 - - - 204 - - 0.2363ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=233 - - - 204 - - 0.1208ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1455ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=233 - - - 204 - - 0.0775ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=233 - - - 204 - - 0.1076ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=233 - - - 204 - - 0.0759ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=233 - - - 204 - - 0.2372ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=233 - - - 204 - - 0.1426ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=233 - - - 204 - - 0.0962ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=233 - - - 204 - - 0.1025ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1113ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0612ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1428ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:43: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-09-18 21:43:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:43: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-09-18 21:43:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:43: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-09-18 21:43:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:43:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:43: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-09-18 21:43:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:43: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-09-18 21:43:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:43: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-09-18 21:43:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:43: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-09-18 21:43:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:43:55 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:43: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-09-18 21:43:55 INF] Executed DbCommand (3ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 21:43:55 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:43:55 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 57.5634ms [2025-09-18 21:43:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=233 - - - 200 - application/json;+charset=utf-8 58.2493ms [2025-09-18 21:43: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-09-18 21:43:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:43: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-09-18 21:43:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:43:55 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 21:43: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-09-18 21:43:55 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 49.4562ms [2025-09-18 21:43:55 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=233 - - - 200 - application/json;+charset=utf-8 50.5075ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:43: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-09-18 21:43:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:43: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-09-18 21:43: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-09-18 21:43: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-09-18 21:43: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-09-18 21:43:55 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 33.4567ms [2025-09-18 21:43:55 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=233 - - - 200 - application/json;+charset=utf-8 33.9238ms [2025-09-18 21:43:55 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-09-18 21:43: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-09-18 21:43:55 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 74.9469ms [2025-09-18 21:43:55 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=233 - - - 200 - application/json;+charset=utf-8 75.5248ms [2025-09-18 21:43: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-09-18 21:43: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-09-18 21:43:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:43: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-09-18 21:43:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:43: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-09-18 21:43:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:43: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-09-18 21:43:55 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-09-18 21:43: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-09-18 21:43:55 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 115.7572ms [2025-09-18 21:43:55 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=233 - - - 200 - application/json;+charset=utf-8 117.0230ms [2025-09-18 21:43: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-09-18 21:43: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-09-18 21:43:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:43: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-09-18 21:43:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:43:55 INF] Executed DbCommand (14ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:43: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-09-18 21:43:55 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:43:55 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 21:43: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-09-18 21:43:55 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 46.3415ms [2025-09-18 21:43:55 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=233 - - - 200 - application/json;+charset=utf-8 46.7661ms [2025-09-18 21:43: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-09-18 21:43: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-09-18 21:43:55 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 90.4008ms [2025-09-18 21:43:55 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=233 - - - 200 - application/json;+charset=utf-8 90.9436ms [2025-09-18 21:43: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-09-18 21:43:55 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 188.8604ms [2025-09-18 21:43:55 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=233 - - - 200 - application/json;+charset=utf-8 189.1873ms [2025-09-18 21:43:55 INF] Executed DbCommand (31ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-18 21:43: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-09-18 21:43:55 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 83.8911ms [2025-09-18 21:43:55 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 84.3226ms [2025-09-18 21:43:55 INF] Executed DbCommand (29ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 21:43: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-09-18 21:43:55 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 69.7219ms [2025-09-18 21:43:55 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 70.1764ms [2025-09-18 21:43:55 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 198.3049ms [2025-09-18 21:43:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 198.6905ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:43: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-09-18 21:43:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:43: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-09-18 21:43: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-09-18 21:43: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-09-18 21:43:55 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 18.465ms [2025-09-18 21:43:55 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 19.0338ms [2025-09-18 21:43:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=233 - - [2025-09-18 21:43:55 INF] CORS policy execution successful. [2025-09-18 21:43:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:43: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-09-18 21:43:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:43: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-09-18 21:43: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-09-18 21:43:55 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:43:55 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 16.2762ms [2025-09-18 21:43:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:43:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=233 - - - 200 - application/json;+charset=utf-8 16.8011ms [2025-09-18 21:44:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1150 - - [2025-09-18 21:44:07 INF] CORS policy execution successful. [2025-09-18 21:44:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1150 - - - 204 - - 0.2034ms [2025-09-18 21:44:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1150 - - [2025-09-18 21:44:07 INF] CORS policy execution successful. [2025-09-18 21:44:07 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:44:07 INF] Route matched with {action = "GetCostsById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCostsById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:44:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:44: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-09-18 21:44:07 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e [2025-09-18 21:44:07 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-18 21:44:07 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 17.8474ms [2025-09-18 21:44:07 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:44:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1150 - - - 200 - application/json;+charset=utf-8 18.4532ms [2025-09-18 21:44:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-09-18 21:44:11 INF] CORS policy execution successful. [2025-09-18 21:44:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2388ms [2025-09-18 21:44:11 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryjByAYqOTNA29DJkb 1189 [2025-09-18 21:44:11 INF] CORS policy execution successful. [2025-09-18 21:44:11 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-18 21:44:11 INF] Route matched with {action = "CostsUpdate", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] CostsUpdate(Web.Models.API.Expenses.ExpensesUpdateVM) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:44:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:44: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-09-18 21:44:11 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e WHERE e."Id" = @__p_0 LIMIT 1 [2025-09-18 21:44:11 INF] Executed DbCommand (1ms) [Parameters=[@p9='?' (DbType = Int32), @p0='?', @p1='?', @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = DateTime), @p5='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = DateTime), @p8='?' (DbType = Decimal)], CommandType='"Text"', CommandTimeout='30'] UPDATE "Expenses" SET "AccountNumber" = @p0, "Comment" = @p1, "CreateTime" = @p2, "FlatId" = @p3, "StartDate" = @p4, "Status" = @p5, "Type" = @p6, "UpdateTime" = @p7, "Value" = @p8 WHERE "Id" = @p9; [2025-09-18 21:44:11 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-18 21:44:11 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 20.0781ms [2025-09-18 21:44:11 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-18 21:44:11 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryjByAYqOTNA29DJkb 1189 - 200 0 - 20.5866ms [2025-09-18 21:44:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=233 - - [2025-09-18 21:44:11 INF] CORS policy execution successful. [2025-09-18 21:44:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=233 - - - 204 - - 0.2372ms [2025-09-18 21:44:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=233 - - [2025-09-18 21:44:11 INF] CORS policy execution successful. [2025-09-18 21:44:11 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:44: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-09-18 21:44:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:44: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-09-18 21:44: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-09-18 21:44:11 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:44:11 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 17.4863ms [2025-09-18 21:44:11 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:44:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=233 - - - 200 - application/json;+charset=utf-8 18.2609ms [2025-09-18 21:44:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1151 - - [2025-09-18 21:44:17 INF] CORS policy execution successful. [2025-09-18 21:44:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1151 - - - 204 - - 0.2338ms [2025-09-18 21:44:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1151 - - [2025-09-18 21:44:17 INF] CORS policy execution successful. [2025-09-18 21:44:17 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:44: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-09-18 21:44:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:44:17 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:44: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-09-18 21:44:17 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-18 21:44:17 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 26.5584ms [2025-09-18 21:44:17 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:44:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1151 - - - 200 - application/json;+charset=utf-8 27.2383ms [2025-09-18 21:44:21 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - [2025-09-18 21:44:21 INF] CORS policy execution successful. [2025-09-18 21:44:21 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsupdate - - - 204 - - 0.2396ms [2025-09-18 21:44:21 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryAjaC6mST2AlgWhFn 1148 [2025-09-18 21:44:21 INF] CORS policy execution successful. [2025-09-18 21:44:21 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-18 21:44:21 INF] Route matched with {action = "CostsUpdate", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] CostsUpdate(Web.Models.API.Expenses.ExpensesUpdateVM) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:44:21 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:44: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-09-18 21:44:21 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e WHERE e."Id" = @__p_0 LIMIT 1 [2025-09-18 21:44:21 INF] Executed DbCommand (1ms) [Parameters=[@p9='?' (DbType = Int32), @p0='?', @p1='?', @p2='?' (DbType = DateTime), @p3='?' (DbType = Int32), @p4='?' (DbType = DateTime), @p5='?' (DbType = Int32), @p6='?' (DbType = Int32), @p7='?' (DbType = DateTime), @p8='?' (DbType = Decimal)], CommandType='"Text"', CommandTimeout='30'] UPDATE "Expenses" SET "AccountNumber" = @p0, "Comment" = @p1, "CreateTime" = @p2, "FlatId" = @p3, "StartDate" = @p4, "Status" = @p5, "Type" = @p6, "UpdateTime" = @p7, "Value" = @p8 WHERE "Id" = @p9; [2025-09-18 21:44:21 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-18 21:44:21 INF] Executed action Web.Controllers.API.FlatController.CostsUpdate (Web) in 17.3594ms [2025-09-18 21:44:21 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsUpdate (Web)' [2025-09-18 21:44:21 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/costsupdate multipart/form-data;+boundary=----WebKitFormBoundaryAjaC6mST2AlgWhFn 1148 - 200 0 - 17.8796ms [2025-09-18 21:44:21 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=233 - - [2025-09-18 21:44:21 INF] CORS policy execution successful. [2025-09-18 21:44:21 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=233 - - - 204 - - 0.2240ms [2025-09-18 21:44:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=233 - - [2025-09-18 21:44:21 INF] CORS policy execution successful. [2025-09-18 21:44:21 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:44: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-09-18 21:44:21 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:44:21 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:44:21 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 21:44:21 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:44:21 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 17.1376ms [2025-09-18 21:44:21 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:44:21 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=233 - - - 200 - application/json;+charset=utf-8 17.6474ms [2025-09-18 21:44:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 21:44:37 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 21:44:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.3256ms [2025-09-18 21:44:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 21:44:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 21:44:37 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 21:44:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.2613ms [2025-09-18 21:44:37 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 21:44:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.1593ms [2025-09-18 21:44:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 21:44:37 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 21:44:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.1890ms [2025-09-18 21:45:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:45:03 INF] CORS policy execution successful. [2025-09-18 21:45:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2240ms [2025-09-18 21:45:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:45:03 INF] CORS policy execution successful. [2025-09-18 21:45:03 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:45:03 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:45:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:45: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-09-18 21:45:03 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:45: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-09-18 21:45:03 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:45:03 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 64.6589ms [2025-09-18 21:45:03 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:45:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 65.4401ms [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=237 - - [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=237 - - - 204 - - 0.2183ms [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=237 - - [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=237 - - - 204 - - 0.2107ms [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1884ms [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=237 - - [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=237 - - [2025-09-18 21:45:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=237 - - - 204 - - 0.1935ms [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=237 - - - 204 - - 0.4429ms [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=237 - - [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=237 - - [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=237 - - - 204 - - 0.2822ms [2025-09-18 21:45:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=237 - - - 204 - - 0.4361ms [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=237 - - [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=237 - - - 204 - - 0.0860ms [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=237 - - [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=237 - - - 204 - - 0.1898ms [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=237 - - [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=237 - - - 204 - - 0.1288ms [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1494ms [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1449ms [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.5780ms [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=237 - - [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:45: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-09-18 21:45:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=237 - - [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:45: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-09-18 21:45:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=237 - - [2025-09-18 21:45:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:45: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-09-18 21:45:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:45: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-09-18 21:45:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:45: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-09-18 21:45:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=237 - - [2025-09-18 21:45:06 INF] CORS policy execution successful. [2025-09-18 21:45:06 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:45: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-09-18 21:45:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:45: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-09-18 21:45:06 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-18 21:45: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-09-18 21:45:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=237 - - [2025-09-18 21:45:07 INF] CORS policy execution successful. [2025-09-18 21:45:07 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:45: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-09-18 21:45:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:45:07 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:45:07 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 21:45: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-09-18 21:45:07 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 37.6299ms [2025-09-18 21:45:07 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:45:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=237 - - - 200 - application/json;+charset=utf-8 38.1729ms [2025-09-18 21:45: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-09-18 21:45:07 INF] Executed DbCommand (43ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:45: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-09-18 21:45:07 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 21:45: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-09-18 21:45:07 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 66.5082ms [2025-09-18 21:45:07 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:45:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=237 - - - 200 - application/json;+charset=utf-8 68.0684ms [2025-09-18 21:45:07 INF] Executed DbCommand (57ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 21:45:07 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:45:07 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 79.5417ms [2025-09-18 21:45:07 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:45:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=237 - - - 200 - application/json;+charset=utf-8 80.5937ms [2025-09-18 21:45:07 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-09-18 21:45: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-09-18 21:45:07 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 58.8063ms [2025-09-18 21:45:07 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:45:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=237 - - - 200 - application/json;+charset=utf-8 59.2120ms [2025-09-18 21:45:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=237 - - [2025-09-18 21:45:07 INF] CORS policy execution successful. [2025-09-18 21:45:07 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:45: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-09-18 21:45:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:45: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-09-18 21:45:07 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 94.6614ms [2025-09-18 21:45:07 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:45:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=237 - - - 200 - application/json;+charset=utf-8 95.2458ms [2025-09-18 21:45:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=237 - - [2025-09-18 21:45:07 INF] CORS policy execution successful. [2025-09-18 21:45:07 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:45: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-09-18 21:45:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:45:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:45:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:45:07 INF] CORS policy execution successful. [2025-09-18 21:45:07 INF] CORS policy execution successful. [2025-09-18 21:45:07 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:45:07 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:45: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-09-18 21:45: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-09-18 21:45:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:45:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:45:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=237 - - [2025-09-18 21:45:07 INF] CORS policy execution successful. [2025-09-18 21:45:07 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:45: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-09-18 21:45:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:45: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-09-18 21:45: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-09-18 21:45:07 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 123.2326ms [2025-09-18 21:45:07 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:45:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 123.9137ms [2025-09-18 21:45:07 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-09-18 21:45: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-09-18 21:45:07 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 44.9349ms [2025-09-18 21:45:07 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:45:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=237 - - - 200 - application/json;+charset=utf-8 45.9335ms [2025-09-18 21:45:07 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:45:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:45:07 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:45:07 INF] CORS policy execution successful. [2025-09-18 21:45:07 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:45: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-09-18 21:45:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:45: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-09-18 21:45:07 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:45:07 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 21:45: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-09-18 21:45: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-09-18 21:45: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-09-18 21:45:07 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 50.7574ms [2025-09-18 21:45:07 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:45:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 52.0262ms [2025-09-18 21:45:07 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 21:45: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-09-18 21:45:07 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 53.8725ms [2025-09-18 21:45:07 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:45:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=237 - - - 200 - application/json;+charset=utf-8 54.1408ms [2025-09-18 21:45:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=237 - - [2025-09-18 21:45:07 INF] CORS policy execution successful. [2025-09-18 21:45:07 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:45: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-09-18 21:45:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:45: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-09-18 21:45: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-09-18 21:45:07 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 76.6704ms [2025-09-18 21:45:07 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:45:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=237 - - - 200 - application/json;+charset=utf-8 77.2105ms [2025-09-18 21:45:07 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 21:45: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-09-18 21:45:07 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 28.3801ms [2025-09-18 21:45:07 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:45:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 28.8871ms [2025-09-18 21:45: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-09-18 21:45:07 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 79.016ms [2025-09-18 21:45:07 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:45:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 79.5482ms [2025-09-18 21:45: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-09-18 21:45: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-09-18 21:45:07 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:45:07 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 24.8686ms [2025-09-18 21:45:07 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:45:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=237 - - - 200 - application/json;+charset=utf-8 25.9002ms [2025-09-18 21:45:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 21:45:15 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 21:45:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.3180ms [2025-09-18 21:45:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 21:45:15 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 21:45:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.2878ms [2025-09-18 21:45:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 21:45:15 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 21:45:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.3400ms [2025-09-18 21:45:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 21:45:15 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 21:45:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.3379ms [2025-09-18 21:46:31 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1168 - - [2025-09-18 21:46:31 INF] CORS policy execution successful. [2025-09-18 21:46:31 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1168 - - - 204 - - 0.2195ms [2025-09-18 21:46:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1168 - - [2025-09-18 21:46:31 INF] CORS policy execution successful. [2025-09-18 21:46:31 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:46:31 INF] Route matched with {action = "GetCostsById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCostsById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:46:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:46:31 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:46:31 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e [2025-09-18 21:46:31 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-18 21:46:31 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 22.1091ms [2025-09-18 21:46:31 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:46:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1168 - - - 200 - application/json;+charset=utf-8 22.7438ms [2025-09-18 21:48:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:48:34 INF] CORS policy execution successful. [2025-09-18 21:48:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2487ms [2025-09-18 21:48:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:48:34 INF] CORS policy execution successful. [2025-09-18 21:48:34 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:48:34 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:48:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:48: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-09-18 21:48:34 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:48:34 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:48:35 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:48:35 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 63.0721ms [2025-09-18 21:48:35 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:48:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 63.7798ms [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=268 - - - 204 - - 0.2114ms [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=268 - - - 204 - - 0.1128ms [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=268 - - - 204 - - 0.1984ms [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0902ms [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=268 - - - 204 - - 0.0726ms [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=268 - - - 204 - - 0.0836ms [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=268 - - [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=268 - - - 204 - - 0.2292ms [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=268 - - - 204 - - 0.1871ms [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=268 - - - 204 - - 0.1814ms [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=268 - - - 204 - - 0.0895ms [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1232ms [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1231ms [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:48:41 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:48:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.3978ms [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:48:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-18 21:48:41 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:48:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-18 21:48:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:48:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:48:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-18 21:48:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:48:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:48:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:48:41 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:48:41 INF] Executed DbCommand (5ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 21:48:41 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:48:41 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 34.5233ms [2025-09-18 21:48:41 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=268 - - - 200 - application/json;+charset=utf-8 34.9106ms [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:48:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-18 21:48:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:48:41 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:48:41 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-09-18 21:48:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:48:41 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:48:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:48:41 INF] Executed DbCommand (10ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:48:41 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:48:41 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-09-18 21:48:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:48:41 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 58.5156ms [2025-09-18 21:48:41 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=268 - - - 200 - application/json;+charset=utf-8 66.4424ms [2025-09-18 21:48:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 21:48:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:48:41 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 58.727ms [2025-09-18 21:48:41 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=268 - - - 200 - application/json;+charset=utf-8 59.3815ms [2025-09-18 21:48:41 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:48:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 21:48:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:48:41 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 50.1379ms [2025-09-18 21:48:41 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=268 - - - 200 - application/json;+charset=utf-8 50.6040ms [2025-09-18 21:48:41 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:48:41 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:48:41 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 21:48:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:48:41 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 78.9406ms [2025-09-18 21:48:41 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=268 - - - 200 - application/json;+charset=utf-8 81.1241ms [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:48:41 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 21:48:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:48:41 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:48:41 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:48:41 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:48:41 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-18 21:48:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:48:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:48:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:48:41 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:48:41 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:48:41 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:48:41 INF] Executed DbCommand (11ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:48:41 INF] Executed DbCommand (11ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 21:48:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:48:41 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 43.6029ms [2025-09-18 21:48:41 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=268 - - - 200 - application/json;+charset=utf-8 44.1618ms [2025-09-18 21:48:41 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-09-18 21:48:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:48:41 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-18 21:48:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:48:41 INF] Executed DbCommand (10ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:48:41 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-09-18 21:48:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:48:41 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 69.2523ms [2025-09-18 21:48:41 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 69.7700ms [2025-09-18 21:48:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:48:41 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 71.2564ms [2025-09-18 21:48:41 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 71.5458ms [2025-09-18 21:48:41 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:48:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 21:48:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:48:41 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 20.2717ms [2025-09-18 21:48:41 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 26.5016ms [2025-09-18 21:48:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:48:41 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 92.3484ms [2025-09-18 21:48:41 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=268 - - - 200 - application/json;+charset=utf-8 92.7807ms [2025-09-18 21:48:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:48:41 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:48:41 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 180.7696ms [2025-09-18 21:48:41 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=268 - - - 200 - application/json;+charset=utf-8 181.9473ms [2025-09-18 21:48:41 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 137.6695ms [2025-09-18 21:48:41 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 138.2639ms [2025-09-18 21:48:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=268 - - [2025-09-18 21:48:41 INF] CORS policy execution successful. [2025-09-18 21:48:41 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:48:41 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:48:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:48:41 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:48:41 INF] Executed DbCommand (3ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 21:48:41 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:48:41 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 16.9893ms [2025-09-18 21:48:41 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:48:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=268 - - - 200 - application/json;+charset=utf-8 17.6924ms [2025-09-18 21:48:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1326 - - [2025-09-18 21:48:49 INF] CORS policy execution successful. [2025-09-18 21:48:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1326 - - - 204 - - 0.2089ms [2025-09-18 21:48:50 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1326 - - [2025-09-18 21:48:50 INF] CORS policy execution successful. [2025-09-18 21:48:50 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:48:50 INF] Route matched with {action = "GetCostsById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCostsById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:48:50 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:48:50 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:48:50 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e [2025-09-18 21:48:50 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-18 21:48:50 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 203.7851ms [2025-09-18 21:48:50 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:48:50 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1326 - - - 200 - application/json;+charset=utf-8 204.4808ms [2025-09-18 21:49:13 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:49:13 INF] CORS policy execution successful. [2025-09-18 21:49:13 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2378ms [2025-09-18 21:49:13 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:49:13 INF] CORS policy execution successful. [2025-09-18 21:49:13 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:49:13 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:49:13 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49:13 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:49:13 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:49:14 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:49: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-09-18 21:49:14 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 69.9985ms [2025-09-18 21:49:14 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:49:14 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 70.6529ms [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=283 - - - 204 - - 0.2401ms [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=283 - - - 204 - - 0.2085ms [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2113ms [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=283 - - - 204 - - 0.1656ms [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=283 - - - 204 - - 0.0684ms [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=283 - - - 204 - - 0.0716ms [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=283 - - - 204 - - 0.0950ms [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=283 - - - 204 - - 0.0917ms [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=283 - - - 204 - - 0.1663ms [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=283 - - - 204 - - 0.2182ms [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1234ms [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0863ms [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0835ms [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:49: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-09-18 21:49:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:49:18 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-18 21:49:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:49:18 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:49: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-09-18 21:49:18 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:49:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:49:18 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-18 21:49:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49:18 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:49: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-09-18 21:49:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49:18 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 21:49:18 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:49:18 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 28.4693ms [2025-09-18 21:49:18 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=283 - - - 200 - application/json;+charset=utf-8 29.0344ms [2025-09-18 21:49:18 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:49:18 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-09-18 21:49:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:49:18 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 21:49:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49: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-09-18 21:49:18 INF] Executed DbCommand (5ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 21:49:18 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:49:18 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 88.1399ms [2025-09-18 21:49:18 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=283 - - - 200 - application/json;+charset=utf-8 88.6079ms [2025-09-18 21:49:18 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:49:18 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 21:49:18 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:49:18 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 79.7961ms [2025-09-18 21:49:18 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=283 - - - 200 - application/json;+charset=utf-8 82.1783ms [2025-09-18 21:49: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-09-18 21:49:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:49: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-09-18 21:49:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49:18 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:49:18 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:49:18 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:49:18 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 21:49:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49:18 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-09-18 21:49:18 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:49:18 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 103.5886ms [2025-09-18 21:49:18 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=283 - - - 200 - application/json;+charset=utf-8 104.1905ms [2025-09-18 21:49:18 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:49:18 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-18 21:49:18 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:49:18 INF] Executed DbCommand (24ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:49: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-09-18 21:49:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49:18 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:49:18 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 54.424ms [2025-09-18 21:49:18 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:49:18 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 21:49:18 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:49:18 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 30.757ms [2025-09-18 21:49:18 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=283 - - - 200 - application/json;+charset=utf-8 31.2592ms [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=283 - - - 200 - application/json;+charset=utf-8 58.0585ms [2025-09-18 21:49:18 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:49: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-09-18 21:49:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:49: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-09-18 21:49:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49:18 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-09-18 21:49:18 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:49:18 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 126.7745ms [2025-09-18 21:49:18 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=283 - - - 200 - application/json;+charset=utf-8 127.3650ms [2025-09-18 21:49:18 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:49:18 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 196.7934ms [2025-09-18 21:49:18 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=283 - - - 200 - application/json;+charset=utf-8 197.4695ms [2025-09-18 21:49:18 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:49:18 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 21:49:18 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:49:18 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 22.3081ms [2025-09-18 21:49:18 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 22.5707ms [2025-09-18 21:49:18 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=283 - - [2025-09-18 21:49:18 INF] CORS policy execution successful. [2025-09-18 21:49:18 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:49: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-09-18 21:49:18 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49:18 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:49:18 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:49: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-09-18 21:49:18 INF] Executed DbCommand (3ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 21:49:18 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:49:18 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 18.3365ms [2025-09-18 21:49:18 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=283 - - - 200 - application/json;+charset=utf-8 18.7939ms [2025-09-18 21:49:18 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:49:18 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 21:49:18 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 67.6002ms [2025-09-18 21:49:18 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 67.9898ms [2025-09-18 21:49:18 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:49:18 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 211.9398ms [2025-09-18 21:49:18 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:49:18 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 46.6587ms [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 212.5612ms [2025-09-18 21:49:18 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:49:18 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 47.1317ms [2025-09-18 21:49:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsdelete?id=1399 - - [2025-09-18 21:49:23 INF] CORS policy execution successful. [2025-09-18 21:49:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/costsdelete?id=1399 - - - 204 - - 0.2567ms [2025-09-18 21:49:23 INF] Request starting HTTP/1.1 DELETE http://hmgt.metrohousedev.com/api/flat/costsdelete?id=1399 - - [2025-09-18 21:49:23 INF] CORS policy execution successful. [2025-09-18 21:49:23 INF] Executing endpoint 'Web.Controllers.API.FlatController.CostsDelete (Web)' [2025-09-18 21:49:23 INF] Route matched with {action = "CostsDelete", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] CostsDelete(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:49:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:49:23 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e WHERE e."Id" = @__p_0 LIMIT 1 [2025-09-18 21:49:23 INF] Executed DbCommand (1ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] DELETE FROM "Expenses" WHERE "Id" = @p0; [2025-09-18 21:49:23 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-18 21:49:23 INF] Executed action Web.Controllers.API.FlatController.CostsDelete (Web) in 18.9146ms [2025-09-18 21:49:23 INF] Executed endpoint 'Web.Controllers.API.FlatController.CostsDelete (Web)' [2025-09-18 21:49:23 INF] Request finished HTTP/1.1 DELETE http://hmgt.metrohousedev.com/api/flat/costsdelete?id=1399 - - - 200 0 - 19.5058ms [2025-09-18 21:49:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=283 - - [2025-09-18 21:49:23 INF] CORS policy execution successful. [2025-09-18 21:49:23 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:49:23 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:49:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49:23 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:49: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-09-18 21:49:23 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:49:23 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 17.3946ms [2025-09-18 21:49:23 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:49:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=283 - - - 200 - application/json;+charset=utf-8 17.9613ms [2025-09-18 21:49:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1398 - - [2025-09-18 21:49:27 INF] CORS policy execution successful. [2025-09-18 21:49:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1398 - - - 204 - - 0.2720ms [2025-09-18 21:49:27 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1398 - - [2025-09-18 21:49:27 INF] CORS policy execution successful. [2025-09-18 21:49:27 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:49:27 INF] Route matched with {action = "GetCostsById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCostsById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:49:27 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49:27 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:49:27 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e [2025-09-18 21:49:27 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-18 21:49:27 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 18.7016ms [2025-09-18 21:49:27 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:49:27 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1398 - - - 200 - application/json;+charset=utf-8 19.2841ms [2025-09-18 21:49:31 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1396 - - [2025-09-18 21:49:31 INF] CORS policy execution successful. [2025-09-18 21:49:31 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1396 - - - 204 - - 0.2205ms [2025-09-18 21:49:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1396 - - [2025-09-18 21:49:31 INF] CORS policy execution successful. [2025-09-18 21:49:31 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:49:31 INF] Route matched with {action = "GetCostsById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCostsById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:49:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49: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-09-18 21:49:31 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e [2025-09-18 21:49:31 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-18 21:49:31 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 21.8992ms [2025-09-18 21:49:31 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:49:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1396 - - - 200 - application/json;+charset=utf-8 22.7830ms [2025-09-18 21:49:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1400 - - [2025-09-18 21:49:34 INF] CORS policy execution successful. [2025-09-18 21:49:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1400 - - - 204 - - 0.2224ms [2025-09-18 21:49:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1400 - - [2025-09-18 21:49:34 INF] CORS policy execution successful. [2025-09-18 21:49:34 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:49:34 INF] Route matched with {action = "GetCostsById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCostsById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:49:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49: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-09-18 21:49:34 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e [2025-09-18 21:49:34 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-18 21:49:34 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 16.1044ms [2025-09-18 21:49:34 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:49:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1400 - - - 200 - application/json;+charset=utf-8 16.6581ms [2025-09-18 21:49:36 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1397 - - [2025-09-18 21:49:36 INF] CORS policy execution successful. [2025-09-18 21:49:36 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1397 - - - 204 - - 0.2442ms [2025-09-18 21:49:36 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1397 - - [2025-09-18 21:49:36 INF] CORS policy execution successful. [2025-09-18 21:49:36 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:49:36 INF] Route matched with {action = "GetCostsById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCostsById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:49:36 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:49: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-09-18 21:49:36 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e [2025-09-18 21:49:36 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-18 21:49:36 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 17.1311ms [2025-09-18 21:49:36 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:49:36 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1397 - - - 200 - application/json;+charset=utf-8 17.7426ms [2025-09-18 21:53:16 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:53:16 INF] CORS policy execution successful. [2025-09-18 21:53:16 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.1948ms [2025-09-18 21:53:16 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:53:16 INF] CORS policy execution successful. [2025-09-18 21:53:16 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:53:16 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:53:16 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:53:16 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:53:16 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:53:16 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:53:16 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:53:16 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 62.8911ms [2025-09-18 21:53:16 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:53:16 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 63.4627ms [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=307 - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=307 - - - 204 - - 0.2068ms [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=307 - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=307 - - - 204 - - 0.1214ms [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1307ms [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=307 - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=307 - - - 204 - - 0.0922ms [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=307 - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=307 - - - 204 - - 0.1217ms [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=307 - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=307 - - - 204 - - 0.2019ms [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=307 - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=307 - - - 204 - - 0.1789ms [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=307 - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=307 - - - 204 - - 0.1661ms [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=307 - - [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=307 - - - 204 - - 0.2477ms [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=307 - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2547ms [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=307 - - - 204 - - 0.0582ms [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2666ms [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1885ms [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=307 - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:53: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-09-18 21:53:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=307 - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:53: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-09-18 21:53:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=307 - - [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:53: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-09-18 21:53:32 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:53:32 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-18 21:53:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:53:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=307 - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:53: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-09-18 21:53:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=307 - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:53: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-09-18 21:53:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:53:32 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:53:32 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:53:32 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:53:32 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:53:32 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:53:32 INF] Executed DbCommand (3ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 21:53:32 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:53:32 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 47.1527ms [2025-09-18 21:53:32 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:53:32 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-09-18 21:53:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=307 - - - 200 - application/json;+charset=utf-8 50.0802ms [2025-09-18 21:53:32 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:53:32 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 44.1666ms [2025-09-18 21:53:32 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=307 - - - 200 - application/json;+charset=utf-8 44.6380ms [2025-09-18 21:53:32 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 21:53: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-09-18 21:53:32 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 39.9826ms [2025-09-18 21:53:32 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=307 - - - 200 - application/json;+charset=utf-8 40.4601ms [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=307 - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:53: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-09-18 21:53:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=307 - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:53:32 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:53: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-09-18 21:53:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=307 - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:53:32 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-18 21:53:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:53:32 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:53:32 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-18 21:53:32 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:53:32 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 21:53: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-09-18 21:53:32 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 81.6621ms [2025-09-18 21:53:32 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=307 - - - 200 - application/json;+charset=utf-8 82.3938ms [2025-09-18 21:53:32 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:53: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-09-18 21:53: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-09-18 21:53:32 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 43.4471ms [2025-09-18 21:53:32 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=307 - - - 200 - application/json;+charset=utf-8 43.8221ms [2025-09-18 21:53:32 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:53:32 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:53:32 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-18 21:53:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:53:32 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:53: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-09-18 21:53:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:53:32 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 21:53:32 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:53:32 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 67.1607ms [2025-09-18 21:53:32 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=307 - - - 200 - application/json;+charset=utf-8 67.7793ms [2025-09-18 21:53: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-09-18 21:53:32 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:53:32 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:53:32 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 21:53: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-09-18 21:53:32 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 29.7613ms [2025-09-18 21:53:32 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 30.2817ms [2025-09-18 21:53:32 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:53: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-09-18 21:53:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:53: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-09-18 21:53:32 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 156.2692ms [2025-09-18 21:53:32 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 156.7164ms [2025-09-18 21:53:32 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:53:32 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=307 - - [2025-09-18 21:53:32 INF] CORS policy execution successful. [2025-09-18 21:53:32 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 56.0706ms [2025-09-18 21:53:32 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 56.5302ms [2025-09-18 21:53:32 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:53: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-09-18 21:53:32 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:53:32 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 112.1118ms [2025-09-18 21:53:32 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=307 - - - 200 - application/json;+charset=utf-8 112.8529ms [2025-09-18 21:53:32 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:53:32 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 21:53: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-09-18 21:53:32 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 31.1799ms [2025-09-18 21:53:32 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 31.6126ms [2025-09-18 21:53:32 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:53: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-09-18 21:53:32 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:53:32 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 21.6791ms [2025-09-18 21:53:32 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=307 - - - 200 - application/json;+charset=utf-8 22.7162ms [2025-09-18 21:53: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-09-18 21:53:32 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 190.9266ms [2025-09-18 21:53:32 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:53:32 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=307 - - - 200 - application/json;+charset=utf-8 191.5178ms [2025-09-18 21:53:36 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1522 - - [2025-09-18 21:53:36 INF] CORS policy execution successful. [2025-09-18 21:53:36 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1522 - - - 204 - - 0.2719ms [2025-09-18 21:53:36 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1522 - - [2025-09-18 21:53:36 INF] CORS policy execution successful. [2025-09-18 21:53:36 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:53:36 INF] Route matched with {action = "GetCostsById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCostsById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:53:36 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:53: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-09-18 21:53:36 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e [2025-09-18 21:53:36 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-18 21:53:36 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 17.8011ms [2025-09-18 21:53:36 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:53:36 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1522 - - - 200 - application/json;+charset=utf-8 18.4981ms [2025-09-18 21:53:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1523 - - [2025-09-18 21:53:38 INF] CORS policy execution successful. [2025-09-18 21:53:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1523 - - - 204 - - 0.2137ms [2025-09-18 21:53:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1523 - - [2025-09-18 21:53:38 INF] CORS policy execution successful. [2025-09-18 21:53:38 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:53:38 INF] Route matched with {action = "GetCostsById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCostsById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:53:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:53:38 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:53:38 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Expenses" AS e [2025-09-18 21:53:38 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Expenses.ExpensesVM'. [2025-09-18 21:53:38 INF] Executed action Web.Controllers.API.FlatController.GetCostsById (Web) in 19.1065ms [2025-09-18 21:53:38 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetCostsById (Web)' [2025-09-18 21:53:38 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetCostsById?id=1523 - - - 200 - application/json;+charset=utf-8 19.7536ms [2025-09-18 21:57:21 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:57:21 INF] CORS policy execution successful. [2025-09-18 21:57:21 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2294ms [2025-09-18 21:57:21 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:57:21 INF] CORS policy execution successful. [2025-09-18 21:57:21 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:57:21 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:57:21 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:57: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-09-18 21:57:21 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 21:57: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-09-18 21:57:22 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:57:22 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 60.2283ms [2025-09-18 21:57:22 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:57:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 60.8524ms [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=227 - - - 204 - - 0.2295ms [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=227 - - - 204 - - 0.2346ms [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.3327ms [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=227 - - [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=227 - - - 204 - - 0.4456ms [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=227 - - - 204 - - 0.0832ms [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=227 - - - 204 - - 0.0777ms [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=227 - - - 204 - - 0.0762ms [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=227 - - - 204 - - 0.7395ms [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=227 - - - 204 - - 0.2268ms [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2922ms [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=227 - - - 204 - - 0.2339ms [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1426ms [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.3972ms [2025-09-18 21:57:25 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:57:25 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:57:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:57:25 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-18 21:57:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:57:25 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:57:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:57:25 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-18 21:57:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:57:25 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-18 21:57:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:57: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-09-18 21:57:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:57:25 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-18 21:57:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:57:25 INF] Executed DbCommand (5ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 21:57:25 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:57:25 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 42.2059ms [2025-09-18 21:57:25 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=227 - - - 200 - application/json;+charset=utf-8 43.5517ms [2025-09-18 21:57:25 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:57:25 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 21:57:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:57:25 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-18 21:57:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:57:25 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 57.0445ms [2025-09-18 21:57:25 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=227 - - - 200 - application/json;+charset=utf-8 59.1353ms [2025-09-18 21:57: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-09-18 21:57:25 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 21:57:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:57:25 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 56.9208ms [2025-09-18 21:57:25 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=227 - - - 200 - application/json;+charset=utf-8 57.4693ms [2025-09-18 21:57:25 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:57:25 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 21:57:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:57:25 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 75.5551ms [2025-09-18 21:57:25 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=227 - - - 200 - application/json;+charset=utf-8 76.1226ms [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:57:25 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-18 21:57:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:57:25 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 21:57:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:57:25 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:57:25 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-18 21:57:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:57:25 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-09-18 21:57:25 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-09-18 21:57:25 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:57:25 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:57:25 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-09-18 21:57:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:57:25 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 41.3136ms [2025-09-18 21:57:25 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=227 - - - 200 - application/json;+charset=utf-8 41.6419ms [2025-09-18 21:57:25 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-09-18 21:57:25 INF] Executed DbCommand (21ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:57:25 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-18 21:57:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:57:25 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:57:25 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 21:57:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:57:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:57:25 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 127.7993ms [2025-09-18 21:57:25 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=227 - - - 200 - application/json;+charset=utf-8 129.1373ms [2025-09-18 21:57:25 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 87.0481ms [2025-09-18 21:57:25 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=227 - - - 200 - application/json;+charset=utf-8 87.5129ms [2025-09-18 21:57:25 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:57:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:57: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-09-18 21:57:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=227 - - [2025-09-18 21:57:25 INF] CORS policy execution successful. [2025-09-18 21:57:25 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:57:25 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:57:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:57:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:57:25 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:57:25 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-09-18 21:57:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:57:25 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 43.0955ms [2025-09-18 21:57:25 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 43.6545ms [2025-09-18 21:57:25 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-18 21:57:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:57:25 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 109.4888ms [2025-09-18 21:57:25 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 114.6460ms [2025-09-18 21:57: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-09-18 21:57:25 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 21:57:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:57:25 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:57:25 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 21:57:25 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:57:25 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 35.4239ms [2025-09-18 21:57:25 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=227 - - - 200 - application/json;+charset=utf-8 35.7513ms [2025-09-18 21:57: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-09-18 21:57:25 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 37.5132ms [2025-09-18 21:57:25 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 38.0380ms [2025-09-18 21:57:25 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 233.7759ms [2025-09-18 21:57:25 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 234.4475ms [2025-09-18 21:57:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:57:25 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 253.0278ms [2025-09-18 21:57:25 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:57:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=227 - - - 200 - application/json;+charset=utf-8 254.4402ms [2025-09-18 21:58:56 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:58:56 INF] CORS policy execution successful. [2025-09-18 21:58:56 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 2.3557ms [2025-09-18 21:58:56 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 21:58:56 INF] CORS policy execution successful. [2025-09-18 21:58:56 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:58:56 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:58:56 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:58:56 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:58: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-09-18 21:58: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-09-18 21:58:56 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:58:56 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 243.4402ms [2025-09-18 21:58:56 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 21:58:56 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 244.1249ms [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - - 204 - - 0.2368ms [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=335 - - - 204 - - 0.6683ms [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=335 - - - 204 - - 0.1997ms [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1101ms [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=335 - - - 204 - - 0.0946ms [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - - 204 - - 0.0933ms [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=335 - - - 204 - - 0.2871ms [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - - 204 - - 0.0825ms [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=335 - - - 204 - - 0.2150ms [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - - 204 - - 0.0811ms [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1203ms [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1053ms [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1379ms [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:59: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-09-18 21:59:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=335 - - [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:59:00 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 21:59:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:59:00 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-18 21:59:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:59:00 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-18 21:59:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:59:00 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:59: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-09-18 21:59:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:59:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:59:00 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:59:00 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 21:59:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:59:00 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 38.1573ms [2025-09-18 21:59:00 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 38.8612ms [2025-09-18 21:59:00 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:59:00 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:59: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-09-18 21:59:00 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:59:00 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 60.5584ms [2025-09-18 21:59:00 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - - 200 - application/json;+charset=utf-8 60.9976ms [2025-09-18 21:59:00 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:59:00 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-18 21:59:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:59:00 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 54.244ms [2025-09-18 21:59:00 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 56.9344ms [2025-09-18 21:59:00 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 21:59: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-09-18 21:59:00 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 47.8345ms [2025-09-18 21:59:00 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 49.1813ms [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:59:00 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-18 21:59:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:59: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-09-18 21:59:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:59:00 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:59:00 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 21:59:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:59:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:59:00 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:59:00 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-18 21:59:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:59:00 INF] Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:59:00 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:59:00 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-09-18 21:59:00 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-18 21:59:00 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-09-18 21:59:00 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 21:59:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:59:00 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 57.6377ms [2025-09-18 21:59:00 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 58.1507ms [2025-09-18 21:59:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:59:00 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 52.8558ms [2025-09-18 21:59:00 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 53.3960ms [2025-09-18 21:59:00 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:59:00 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 21:59:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:59:00 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 73.5145ms [2025-09-18 21:59:00 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 73.9937ms [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:59:00 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-18 21:59:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:59:00 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-18 21:59:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:59:00 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - [2025-09-18 21:59:00 INF] CORS policy execution successful. [2025-09-18 21:59:00 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:59: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-09-18 21:59:00 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 21:59:00 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:59:00 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 21:59:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:59:00 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:59:00 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 21:59:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:59:00 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 41.5096ms [2025-09-18 21:59:00 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 42.0625ms [2025-09-18 21:59:00 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 184.2032ms [2025-09-18 21:59:00 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=335 - - - 200 - application/json;+charset=utf-8 184.8069ms [2025-09-18 21:59:00 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:59:00 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-09-18 21:59:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:59:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:59:00 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 21:59:00 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 56.55ms [2025-09-18 21:59:00 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 57.1851ms [2025-09-18 21:59:00 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 21:59:00 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 21:59:00 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 51.6262ms [2025-09-18 21:59:00 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - - 200 - application/json;+charset=utf-8 52.1642ms [2025-09-18 21:59:00 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 204.3449ms [2025-09-18 21:59:00 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 204.9764ms [2025-09-18 21:59:00 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 21:59:00 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 141.698ms [2025-09-18 21:59:00 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 21:59:00 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 142.4651ms [2025-09-18 22:00:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 22:00:19 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 22:00:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.3807ms [2025-09-18 22:00:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 22:00:19 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 22:00:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.1662ms [2025-09-18 22:00:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 22:00:19 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 22:00:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.2320ms [2025-09-18 22:00:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 22:00:19 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 22:00:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.1865ms [2025-09-18 22:00:27 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 22:00:27 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 22:00:27 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.3173ms [2025-09-18 22:00:27 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 22:00:27 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 22:00:27 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.2397ms [2025-09-18 22:00:27 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 22:00:27 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 22:00:27 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.3559ms [2025-09-18 22:00:27 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 22:00:27 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 22:00:27 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.3033ms [2025-09-18 22:00:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 22:00:31 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 22:00:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.3177ms [2025-09-18 22:00:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 22:00:31 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 22:00:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.1385ms [2025-09-18 22:00:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 22:00:31 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 22:00:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.3384ms [2025-09-18 22:00:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 22:00:31 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 22:00:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.1933ms [2025-09-18 22:02:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 22:02:42 INF] CORS policy execution successful. [2025-09-18 22:02:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2332ms [2025-09-18 22:02:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 22:02:42 INF] CORS policy execution successful. [2025-09-18 22:02:42 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 22:02:42 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 22:02:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:02:42 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:02: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-09-18 22:02:42 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 22:02:42 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:02:42 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 73.2951ms [2025-09-18 22:02:42 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 22:02:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 73.9804ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=180 - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=180 - - - 204 - - 0.2948ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=180 - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=180 - - - 204 - - 0.2432ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2408ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=180 - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=180 - - - 204 - - 0.2474ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=180 - - [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=180 - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=180 - - - 204 - - 0.1936ms [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=180 - - - 204 - - 0.1432ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=180 - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=180 - - [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=180 - - - 204 - - 0.1040ms [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=180 - - - 204 - - 0.1248ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=180 - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=180 - - - 204 - - 0.2313ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=180 - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=180 - - - 204 - - 0.1285ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.3239ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1131ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0941ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=180 - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 22:02:46 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 22:02:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=180 - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 22:02:46 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-18 22:02:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 22:02:46 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 22:02:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=180 - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 22:02:46 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-18 22:02:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:02:46 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:02:46 INF] Executed DbCommand (7ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 22:02:46 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 22:02:46 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 35.1063ms [2025-09-18 22:02:46 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=180 - - - 200 - application/json;+charset=utf-8 35.6199ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=180 - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 22:02:46 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-18 22:02:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=180 - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 22:02:46 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-18 22:02:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:02:46 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:02:46 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=180 - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 22:02:46 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 22:02:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:02:46 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:02:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:02:46 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-18 22:02:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:02:46 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 59.9391ms [2025-09-18 22:02:46 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=180 - - - 200 - application/json;+charset=utf-8 60.4775ms [2025-09-18 22:02:46 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-09-18 22:02:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=180 - - [2025-09-18 22:02:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 22:02:46 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-18 22:02:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:02:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:02:46 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 50.3626ms [2025-09-18 22:02:46 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=180 - - - 200 - application/json;+charset=utf-8 50.7348ms [2025-09-18 22:02:46 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:02:46 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 22:02:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:02:46 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 74.0496ms [2025-09-18 22:02:46 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=180 - - - 200 - application/json;+charset=utf-8 74.5150ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=180 - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 22:02:46 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 22:02:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:02:46 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:02:46 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:02:46 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 22:02:46 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 22:02:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:02:46 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 40.1376ms [2025-09-18 22:02:46 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=180 - - - 200 - application/json;+charset=utf-8 40.6488ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 22:02:46 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-18 22:02:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:02:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 22:02:46 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-18 22:02:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:02:46 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 141.0129ms [2025-09-18 22:02:46 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 147.0791ms [2025-09-18 22:02:46 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:02:46 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:02:46 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 22:02:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:02:46 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 51.0104ms [2025-09-18 22:02:46 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=180 - - - 200 - application/json;+charset=utf-8 51.5345ms [2025-09-18 22:02:46 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-09-18 22:02:46 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:02:46 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-18 22:02:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:02:46 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 36.9969ms [2025-09-18 22:02:46 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 38.6239ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 22:02:46 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-18 22:02:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:02:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:02:46 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 55.7373ms [2025-09-18 22:02:46 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 56.2197ms [2025-09-18 22:02:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=180 - - [2025-09-18 22:02:46 INF] CORS policy execution successful. [2025-09-18 22:02:46 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 22:02:46 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 22:02:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:02:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:02:46 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 136.873ms [2025-09-18 22:02:46 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=180 - - - 200 - application/json;+charset=utf-8 137.4673ms [2025-09-18 22:02:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:02:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 22:02:46 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:02:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:02:46 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 31.1849ms [2025-09-18 22:02:46 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 31.8537ms [2025-09-18 22:02:46 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 22:02:46 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 22:02:46 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 25.3967ms [2025-09-18 22:02:46 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 22:02:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:02:46 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 208.3746ms [2025-09-18 22:02:46 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=180 - - - 200 - application/json;+charset=utf-8 208.9132ms [2025-09-18 22:02:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=180 - - - 200 - application/json;+charset=utf-8 26.5747ms [2025-09-18 22:04:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 22:04:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 22:04:08 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 22:04:08 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 22:04:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.3450ms [2025-09-18 22:04:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.3258ms [2025-09-18 22:04:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 22:04:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 22:04:08 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 22:04:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.1705ms [2025-09-18 22:04:08 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 22:04:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.2883ms [2025-09-18 22:12:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 22:12:53 INF] CORS policy execution successful. [2025-09-18 22:12:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2438ms [2025-09-18 22:12:53 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 22:12:53 INF] CORS policy execution successful. [2025-09-18 22:12:53 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 22:12:53 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 22:12:53 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:12:53 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:12:53 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 22:12:53 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 22:12:53 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:12:53 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 62.6052ms [2025-09-18 22:12:53 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 22:12:53 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 63.3175ms [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=9 - - - 204 - - 0.2309ms [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=9 - - - 204 - - 0.2587ms [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1034ms [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=9 - - - 204 - - 0.0938ms [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=9 - - - 204 - - 0.1068ms [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=9 - - - 204 - - 0.0950ms [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=9 - - - 204 - - 0.0608ms [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=9 - - - 204 - - 0.1515ms [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=9 - - - 204 - - 0.0893ms [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=9 - - - 204 - - 0.0827ms [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1146ms [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1100ms [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.3030ms [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 22:13: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-09-18 22:13:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 22:13:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:13: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-09-18 22:13:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 22:13: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-09-18 22:13:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:13:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 22:13: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-09-18 22:13:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 22:13: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-09-18 22:13:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:13: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-09-18 22:13:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 22:13: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-09-18 22:13:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:13:05 INF] Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 22:13: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-09-18 22:13:05 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:13:05 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 22:13: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-09-18 22:13:05 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 80.2273ms [2025-09-18 22:13:05 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=9 - - - 200 - application/json;+charset=utf-8 80.8803ms [2025-09-18 22:13:05 INF] Executed DbCommand (18ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-18 22:13:05 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:13:05 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-09-18 22:13: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-09-18 22:13:05 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 82.5909ms [2025-09-18 22:13:05 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=9 - - - 200 - application/json;+charset=utf-8 83.1620ms [2025-09-18 22:13: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-09-18 22:13: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-09-18 22:13: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-09-18 22:13:05 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 22:13:05 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 109.6654ms [2025-09-18 22:13:05 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=9 - - - 200 - application/json;+charset=utf-8 110.2234ms [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 22:13: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-09-18 22:13:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 22:13: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-09-18 22:13:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:13:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=9 - - [2025-09-18 22:13:05 INF] CORS policy execution successful. [2025-09-18 22:13:05 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 22:13: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-09-18 22:13:05 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:13:05 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 130.8849ms [2025-09-18 22:13:05 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 22:13: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-09-18 22:13:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 132.0263ms [2025-09-18 22:13:05 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 22:13: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-09-18 22:13:05 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 100.4367ms [2025-09-18 22:13:05 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 22:13:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=9 - - - 200 - application/json;+charset=utf-8 101.0812ms [2025-09-18 22:13:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 22:13:06 INF] CORS policy execution successful. [2025-09-18 22:13:06 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 22:13: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-09-18 22:13:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:13: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-09-18 22:13: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-09-18 22:13:06 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 22:13: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-09-18 22:13: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-09-18 22:13:06 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 32.8332ms [2025-09-18 22:13:06 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 22:13:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=9 - - - 200 - application/json;+charset=utf-8 34.0019ms [2025-09-18 22:13:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 22:13:06 INF] CORS policy execution successful. [2025-09-18 22:13:06 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 22:13: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-09-18 22:13:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:13:06 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 22:13: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-09-18 22:13:06 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 52.2294ms [2025-09-18 22:13:06 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 22:13:06 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-09-18 22:13:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=9 - - - 200 - application/json;+charset=utf-8 54.1089ms [2025-09-18 22:13:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 22:13:06 INF] CORS policy execution successful. [2025-09-18 22:13:06 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 22:13: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-09-18 22:13:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:13: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-09-18 22:13:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=9 - - [2025-09-18 22:13:06 INF] CORS policy execution successful. [2025-09-18 22:13:06 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 22:13: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-09-18 22:13:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:13:06 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-18 22:13: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-09-18 22:13: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-09-18 22:13:06 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:13: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-09-18 22:13: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-09-18 22:13:06 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 34.6393ms [2025-09-18 22:13:06 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 22:13:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 41.1569ms [2025-09-18 22:13: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-09-18 22:13: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-09-18 22:13: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-09-18 22:13:06 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 98.8071ms [2025-09-18 22:13:06 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 68.287ms [2025-09-18 22:13:06 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 22:13:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 68.8504ms [2025-09-18 22:13:06 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 55.5709ms [2025-09-18 22:13:06 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 22:13:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 56.4326ms [2025-09-18 22:13:06 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 22:13:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=9 - - - 200 - application/json;+charset=utf-8 100.3653ms [2025-09-18 22:13: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-09-18 22:13: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-09-18 22:13:06 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 22:13:06 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 31.9141ms [2025-09-18 22:13:06 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 22:13:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=9 - - - 200 - application/json;+charset=utf-8 43.3952ms [2025-09-18 22:13: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-09-18 22:13:06 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 221.9885ms [2025-09-18 22:13:06 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 22:13:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=9 - - - 200 - application/json;+charset=utf-8 222.4116ms [2025-09-18 22:15:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 22:15:53 INF] CORS policy execution successful. [2025-09-18 22:15:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2030ms [2025-09-18 22:15:53 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 22:15:53 INF] CORS policy execution successful. [2025-09-18 22:15:53 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 22:15:53 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 22:15:53 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:15:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:15:54 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 22:15:54 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 22:15:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:15:54 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 262.1002ms [2025-09-18 22:15:54 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 22:15:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 262.7706ms [2025-09-18 22:15:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/ExportFiles/getAll - - [2025-09-18 22:15:55 INF] CORS policy execution successful. [2025-09-18 22:15:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/ExportFiles/getAll - - - 204 - - 0.2294ms [2025-09-18 22:15:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/ExportFiles/getAll - - [2025-09-18 22:15:55 INF] CORS policy execution successful. [2025-09-18 22:15:55 INF] Executing endpoint 'Web.Controllers.API.ExportFilesController.GetAll (Web)' [2025-09-18 22:15:55 INF] Route matched with {action = "GetAll", controller = "ExportFiles"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.ExportFilesController (Web). [2025-09-18 22:15:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:15: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-09-18 22:15:55 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "ExportFiles" AS e [2025-09-18 22:15:55 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.ExportFiles.ExportFilesVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:15:55 INF] Executed action Web.Controllers.API.ExportFilesController.GetAll (Web) in 15.3781ms [2025-09-18 22:15:55 INF] Executed endpoint 'Web.Controllers.API.ExportFilesController.GetAll (Web)' [2025-09-18 22:15:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/ExportFiles/getAll - - - 200 - application/json;+charset=utf-8 15.9277ms [2025-09-18 22:15:58 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 22:15:58 INF] CORS policy execution successful. [2025-09-18 22:15:58 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 22:15:58 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 22:15:58 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:15: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-09-18 22:15:58 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 22:15: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-09-18 22:15:58 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:15:58 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 67.6093ms [2025-09-18 22:15:58 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 22:15:58 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 68.3545ms [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=194 - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=194 - - - 204 - - 0.2249ms [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=194 - - [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2321ms [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=194 - - - 204 - - 0.7914ms [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=194 - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=194 - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=194 - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=194 - - [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=194 - - - 204 - - 0.1050ms [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=194 - - - 204 - - 0.0915ms [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=194 - - - 204 - - 0.8702ms [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=194 - - - 204 - - 0.7025ms [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=194 - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=194 - - - 204 - - 0.1458ms [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=194 - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=194 - - - 204 - - 0.0705ms [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=194 - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=194 - - - 204 - - 0.2465ms [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2545ms [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.5418ms [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=194 - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 22:16: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-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 22:16: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-09-18 22:16:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 2.1983ms [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=194 - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 22:16: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-09-18 22:16:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=194 - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=194 - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 22:16: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-09-18 22:16:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=194 - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 22:16: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-09-18 22:16:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:06 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 22:16: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-09-18 22:16:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:06 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:16:06 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:16:06 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:16:06 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-09-18 22:16:06 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 22:16:06 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 40.237ms [2025-09-18 22:16:06 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=194 - - - 200 - application/json;+charset=utf-8 40.9086ms [2025-09-18 22:16:06 INF] Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-18 22:16:06 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-09-18 22:16:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=194 - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 22:16: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-09-18 22:16:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:06 INF] Executed DbCommand (11ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:16: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-09-18 22:16:06 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 22:16: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-09-18 22:16:06 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 46.4008ms [2025-09-18 22:16:06 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=194 - - - 200 - application/json;+charset=utf-8 48.4126ms [2025-09-18 22:16:06 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-18 22:16: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-09-18 22:16:06 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 49.3461ms [2025-09-18 22:16:06 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=194 - - - 200 - application/json;+charset=utf-8 49.8716ms [2025-09-18 22:16:06 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=194 - - [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=194 - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 22:16: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-09-18 22:16: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-09-18 22:16: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-09-18 22:16:06 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 55.416ms [2025-09-18 22:16:06 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=194 - - - 200 - application/json;+charset=utf-8 61.2971ms [2025-09-18 22:16:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:06 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 22:16: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-09-18 22:16:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16: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-09-18 22:16: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-09-18 22:16: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-09-18 22:16:06 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 34.9757ms [2025-09-18 22:16:06 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=194 - - - 200 - application/json;+charset=utf-8 35.5160ms [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 22:16: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-09-18 22:16:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 22:16: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-09-18 22:16:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16: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-09-18 22:16:06 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 22:16: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-09-18 22:16:06 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 32.7197ms [2025-09-18 22:16:06 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=194 - - - 200 - application/json;+charset=utf-8 36.0954ms [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 22:16: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-09-18 22:16:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16: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-09-18 22:16:06 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:16: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-09-18 22:16: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-09-18 22:16:06 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 22:16: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-09-18 22:16:06 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 42.59ms [2025-09-18 22:16:06 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 43.5360ms [2025-09-18 22:16:06 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-09-18 22:16: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-09-18 22:16:06 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 73.3835ms [2025-09-18 22:16:06 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=194 - - - 200 - application/json;+charset=utf-8 74.3807ms [2025-09-18 22:16:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=194 - - [2025-09-18 22:16:06 INF] CORS policy execution successful. [2025-09-18 22:16:06 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 22:16: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-09-18 22:16:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16: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-09-18 22:16:06 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 69.8396ms [2025-09-18 22:16:06 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 70.4022ms [2025-09-18 22:16: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-09-18 22:16: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-09-18 22:16:06 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:16: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-09-18 22:16: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-09-18 22:16:06 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 51.8165ms [2025-09-18 22:16:06 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 52.4143ms [2025-09-18 22:16: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-09-18 22:16:06 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 22:16:06 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 27.9675ms [2025-09-18 22:16:06 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=194 - - - 200 - application/json;+charset=utf-8 28.4134ms [2025-09-18 22:16:06 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 187.6466ms [2025-09-18 22:16:06 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 22:16: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-09-18 22:16:06 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 186.1566ms [2025-09-18 22:16:06 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=194 - - - 200 - application/json;+charset=utf-8 186.4986ms [2025-09-18 22:16:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 188.5718ms [2025-09-18 22:16:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/update - - [2025-09-18 22:16:15 INF] CORS policy execution successful. [2025-09-18 22:16:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/update - - - 204 - - 0.2693ms [2025-09-18 22:16:15 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/update application/json 466 [2025-09-18 22:16:15 INF] CORS policy execution successful. [2025-09-18 22:16:15 INF] Executing endpoint 'Web.Controllers.API.FlatController.Update (Web)' [2025-09-18 22:16:15 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-09-18 22:16:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:15 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:16:15 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 22:16:15 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-09-18 22:16:15 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-18 22:16:15 INF] Executed action Web.Controllers.API.FlatController.Update (Web) in 22.0866ms [2025-09-18 22:16:15 INF] Executed endpoint 'Web.Controllers.API.FlatController.Update (Web)' [2025-09-18 22:16:15 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/update application/json 466 - 200 0 - 23.1179ms [2025-09-18 22:16:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 22:16:17 INF] CORS policy execution successful. [2025-09-18 22:16:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.1960ms [2025-09-18 22:16:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 22:16:17 INF] CORS policy execution successful. [2025-09-18 22:16:17 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 22:16:17 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 22:16:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:17 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:16:17 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 22:16:17 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 22:16:17 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:16:17 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 62.5423ms [2025-09-18 22:16:17 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-18 22:16:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 63.3196ms [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=366 - - - 204 - - 0.2404ms [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=366 - - - 204 - - 0.1798ms [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1446ms [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=366 - - - 204 - - 0.4205ms [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=366 - - - 204 - - 0.0846ms [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=366 - - - 204 - - 0.1243ms [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=366 - - - 204 - - 0.1511ms [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=366 - - - 204 - - 0.1719ms [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=366 - - - 204 - - 0.2034ms [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=366 - - - 204 - - 0.0965ms [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1311ms [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1835ms [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0998ms [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 22:16:25 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 22:16:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 22:16:25 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-18 22:16:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 22:16:25 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-18 22:16:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 22:16:25 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-18 22:16:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 22:16:25 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-18 22:16:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 22:16:25 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-18 22:16:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:25 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:16: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-09-18 22:16:25 INF] Executed DbCommand (14ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-18 22:16:25 INF] Executed DbCommand (21ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-18 22:16:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:16: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-09-18 22:16:25 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:16:25 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 65.2807ms [2025-09-18 22:16:25 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=366 - - - 200 - application/json;+charset=utf-8 66.6660ms [2025-09-18 22:16:25 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-18 22:16:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:16:25 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-18 22:16:25 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 62.2205ms [2025-09-18 22:16:25 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=366 - - - 200 - application/json;+charset=utf-8 63.9086ms [2025-09-18 22:16:25 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:16:25 INF] Executed DbCommand (5ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 22:16:25 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 22:16:25 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 83.6246ms [2025-09-18 22:16:25 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=366 - - - 200 - application/json;+charset=utf-8 84.1342ms [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 22:16:25 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-18 22:16:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 22:16:25 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-18 22:16:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 22:16:25 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-18 22:16:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16: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-09-18 22:16:25 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-18 22:16:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:16:25 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 18.5166ms [2025-09-18 22:16:25 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=366 - - - 200 - application/json;+charset=utf-8 19.2214ms [2025-09-18 22:16:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:16:25 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:16: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-09-18 22:16:25 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-18 22:16:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:16:25 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 120.1493ms [2025-09-18 22:16:25 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=366 - - - 200 - application/json;+charset=utf-8 121.1109ms [2025-09-18 22:16:25 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-18 22:16:25 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-18 22:16:25 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-09-18 22:16:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:16:25 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 60.1434ms [2025-09-18 22:16:25 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=366 - - - 200 - application/json;+charset=utf-8 61.6296ms [2025-09-18 22:16:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:16:25 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 57.0451ms [2025-09-18 22:16:25 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=366 - - - 200 - application/json;+charset=utf-8 57.5934ms [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 22:16: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-09-18 22:16:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:16:25 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 158.554ms [2025-09-18 22:16:25 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=366 - - - 200 - application/json;+charset=utf-8 159.0477ms [2025-09-18 22:16:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 22:16:25 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-18 22:16:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16: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-09-18 22:16:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 22:16:25 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-18 22:16:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16: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-09-18 22:16:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=366 - - [2025-09-18 22:16:25 INF] CORS policy execution successful. [2025-09-18 22:16:25 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 22:16:25 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-18 22:16:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-18 22:16: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-09-18 22:16:25 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-09-18 22:16: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-09-18 22:16:25 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 45.1889ms [2025-09-18 22:16:25 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 45.6900ms [2025-09-18 22:16:25 INF] Executed DbCommand (15ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-18 22:16: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-09-18 22:16:25 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", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-18 22:16:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:16:25 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-18 22:16:25 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 34.8793ms [2025-09-18 22:16:25 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 35.3845ms [2025-09-18 22:16:25 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-18 22:16:25 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 39.9793ms [2025-09-18 22:16:25 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 40.5557ms [2025-09-18 22:16:25 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-18 22:16:25 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 23.7709ms [2025-09-18 22:16:25 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=366 - - - 200 - application/json;+charset=utf-8 24.2325ms [2025-09-18 22:16:25 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 201.2532ms [2025-09-18 22:16:25 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-18 22:16:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 201.5912ms [2025-09-18 22:27:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-18 22:27:31 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-18 22:27:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.2834ms [2025-09-18 22:27:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-18 22:27:31 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-18 22:27:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.2845ms [2025-09-18 22:27:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-18 22:27:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-18 22:27:31 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-18 22:27:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.4290ms [2025-09-18 22:27:31 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-18 22:27:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.1737ms [2025-09-18 23:17:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-18 23:17:00 INF] CORS policy execution successful. [2025-09-18 23:17:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.1966ms