[2025-09-12 00:13:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-09-12 00:13:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 9.4286ms [2025-09-12 01:01:42 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-09-12 01:01:42 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 0.5267ms [2025-09-12 02:37:55 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/wp-content/plugins/hellopress/wp_filemanager.php - - [2025-09-12 02:37:55 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/wp-content/plugins/hellopress/wp_filemanager.php - - - 404 0 - 0.2864ms [2025-09-12 02:37:55 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/slo.php - - [2025-09-12 02:37:55 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/slo.php - - - 404 0 - 0.2398ms [2025-09-12 02:37:55 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/blurbs8.php - - [2025-09-12 02:37:55 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/blurbs8.php - - - 404 0 - 0.2157ms [2025-09-12 02:37:55 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/mjq.php - - [2025-09-12 02:37:55 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/mjq.php - - - 404 0 - 0.2211ms [2025-09-12 02:37:55 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/an.php - - [2025-09-12 02:37:55 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/an.php - - - 404 0 - 0.2471ms [2025-09-12 02:37:55 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/aa8.php - - [2025-09-12 02:37:55 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/aa8.php - - - 404 0 - 0.7174ms [2025-09-12 02:37:55 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/CLA.php - - [2025-09-12 02:37:55 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/CLA.php - - - 404 0 - 0.3245ms [2025-09-12 02:37:55 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/Sanskrit.php - - [2025-09-12 02:37:55 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/Sanskrit.php - - - 404 0 - 0.2762ms [2025-09-12 02:37:55 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/asd67.php - - [2025-09-12 02:37:55 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/asd67.php - - - 404 0 - 0.2500ms [2025-09-12 02:37:55 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/aa.php - - [2025-09-12 02:37:55 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/aa.php - - - 404 0 - 0.2462ms [2025-09-12 02:37:55 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/gfile.php - - [2025-09-12 02:37:55 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/gfile.php - - - 404 0 - 0.2316ms [2025-09-12 02:37:56 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/jga.php - - [2025-09-12 02:37:56 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/jga.php - - - 404 0 - 0.2920ms [2025-09-12 02:37:56 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/akc.php - - [2025-09-12 02:37:56 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/akc.php - - - 404 0 - 0.2105ms [2025-09-12 02:37:56 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/gg.php - - [2025-09-12 02:37:56 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/gg.php - - - 404 0 - 0.2170ms [2025-09-12 02:37:56 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ggs.php - - [2025-09-12 02:37:56 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ggs.php - - - 404 0 - 0.2699ms [2025-09-12 02:37:56 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/pp.php - - [2025-09-12 02:37:56 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/pp.php - - - 404 0 - 0.2403ms [2025-09-12 02:37:56 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/gmo.php - - [2025-09-12 02:37:56 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/gmo.php - - - 404 0 - 0.2770ms [2025-09-12 02:37:56 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/sder52u.php - - [2025-09-12 02:37:56 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/sder52u.php - - - 404 0 - 0.2138ms [2025-09-12 02:37:56 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ava.php - - [2025-09-12 02:37:56 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ava.php - - - 404 0 - 0.2262ms [2025-09-12 02:37:56 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/v2.php - - [2025-09-12 02:37:56 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/v2.php - - - 404 0 - 0.2056ms [2025-09-12 02:37:56 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/v3.php - - [2025-09-12 02:37:56 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/v3.php - - - 404 0 - 0.2203ms [2025-09-12 02:37:56 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/lo.php - - [2025-09-12 02:37:56 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/lo.php - - - 404 0 - 0.2684ms [2025-09-12 02:37:56 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/zc-749.php - - [2025-09-12 02:37:56 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/zc-749.php - - - 404 0 - 0.2441ms [2025-09-12 02:37:56 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/cool.php - - [2025-09-12 02:37:56 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/cool.php - - - 404 0 - 0.2115ms [2025-09-12 02:37:56 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/pass.php - - [2025-09-12 02:37:56 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/pass.php - - - 404 0 - 0.2327ms [2025-09-12 02:37:57 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/num.php - - [2025-09-12 02:37:57 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/num.php - - - 404 0 - 0.5305ms [2025-09-12 02:37:57 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/CLA.php - - [2025-09-12 02:37:57 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/CLA.php - - - 404 0 - 0.2951ms [2025-09-12 02:37:57 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/aw.php - - [2025-09-12 02:37:57 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/aw.php - - - 404 0 - 0.2983ms [2025-09-12 02:37:57 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/file2.php - - [2025-09-12 02:37:57 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/file2.php - - - 404 0 - 0.1942ms [2025-09-12 02:37:57 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/tcp.php - - [2025-09-12 02:37:57 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/tcp.php - - - 404 0 - 0.2068ms [2025-09-12 02:37:57 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/sder52u.php - - [2025-09-12 02:37:57 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/sder52u.php - - - 404 0 - 0.1507ms [2025-09-12 02:37:57 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/bless2.php - - [2025-09-12 02:37:57 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/bless2.php - - - 404 0 - 0.1954ms [2025-09-12 02:37:57 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/aa17.php - - [2025-09-12 02:37:57 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/aa17.php - - - 404 0 - 0.1620ms [2025-09-12 02:37:57 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/sarang.php - - [2025-09-12 02:37:57 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/sarang.php - - - 404 0 - 0.2012ms [2025-09-12 02:37:57 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/wp-update.php - - [2025-09-12 02:37:57 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/wp-update.php - - - 404 0 - 0.1974ms [2025-09-12 02:37:57 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/gfile.php - - [2025-09-12 02:37:57 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/gfile.php - - - 404 0 - 0.2294ms [2025-09-12 02:37:57 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ffile.php - - [2025-09-12 02:37:57 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ffile.php - - - 404 0 - 0.1862ms [2025-09-12 02:37:57 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/bypass.php - - [2025-09-12 02:37:57 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/bypass.php - - - 404 0 - 0.1501ms [2025-09-12 06:19:47 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/update - - [2025-09-12 06:19:47 INF] CORS policy execution successful. [2025-09-12 06:19:47 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/update - - - 204 - - 1.1489ms [2025-09-12 06:19:47 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/update application/json 472 [2025-09-12 06:19:47 INF] CORS policy execution successful. [2025-09-12 06:19:47 INF] Executing endpoint 'Web.Controllers.API.FlatController.Update (Web)' [2025-09-12 06:19:47 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-12 06:19:47 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 06:19:47 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-12 06:19:47 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-12 06:19:47 INF] Executed DbCommand (12ms) [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-12 06:19:47 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-12 06:19:47 INF] Executed action Web.Controllers.API.FlatController.Update (Web) in 280.3065ms [2025-09-12 06:19:47 INF] Executed endpoint 'Web.Controllers.API.FlatController.Update (Web)' [2025-09-12 06:19:47 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/update application/json 472 - 200 0 - 294.6999ms [2025-09-12 06:19:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/update - - [2025-09-12 06:19:53 INF] CORS policy execution successful. [2025-09-12 06:19:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/update - - - 204 - - 0.2642ms [2025-09-12 06:19:53 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/update application/json 471 [2025-09-12 06:19:53 INF] CORS policy execution successful. [2025-09-12 06:19:53 INF] Executing endpoint 'Web.Controllers.API.FlatController.Update (Web)' [2025-09-12 06:19:53 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-12 06:19:53 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 06:19: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-12 06:19:53 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-12 06:19:53 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-12 06:19:53 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-12 06:19:53 INF] Executed action Web.Controllers.API.FlatController.Update (Web) in 22.6269ms [2025-09-12 06:19:53 INF] Executed endpoint 'Web.Controllers.API.FlatController.Update (Web)' [2025-09-12 06:19:53 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/update application/json 471 - 200 0 - 23.4958ms [2025-09-12 06:20:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/update - - [2025-09-12 06:20:10 INF] CORS policy execution successful. [2025-09-12 06:20:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/update - - - 204 - - 0.5638ms [2025-09-12 06:20:10 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/update application/json 471 [2025-09-12 06:20:10 INF] CORS policy execution successful. [2025-09-12 06:20:10 INF] Executing endpoint 'Web.Controllers.API.FlatController.Update (Web)' [2025-09-12 06:20:10 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-12 06:20:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 06:20: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-12 06:20: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-12 06:20:10 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-12 06:20:10 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-12 06:20:10 INF] Executed action Web.Controllers.API.FlatController.Update (Web) in 20.0047ms [2025-09-12 06:20:10 INF] Executed endpoint 'Web.Controllers.API.FlatController.Update (Web)' [2025-09-12 06:20:10 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/flat/update application/json 471 - 200 0 - 20.7433ms [2025-09-12 06:31:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=277 - - [2025-09-12 06:31:11 INF] CORS policy execution successful. [2025-09-12 06:31:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=277 - - - 204 - - 0.4854ms [2025-09-12 06:31:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=277 - - [2025-09-12 06:31:11 INF] CORS policy execution successful. [2025-09-12 06:31:11 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-12 06:31:11 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-12 06:31:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 06:31: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-12 06:31: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-12 06:31:11 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-12 06:31:11 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 48.7716ms [2025-09-12 06:31:11 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-12 06:31:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=277 - - - 200 - application/json;+charset=utf-8 52.8148ms [2025-09-12 06:31:12 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Jana%20Kazimierza%2025_38_422_umowa%20najmu%2018.11.2024.pdf&id=277 - - [2025-09-12 06:31:12 INF] CORS policy execution successful. [2025-09-12 06:31:12 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Jana%20Kazimierza%2025_38_422_umowa%20najmu%2018.11.2024.pdf&id=277 - - - 204 - - 5.0135ms [2025-09-12 06:31:12 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Jana%20Kazimierza%2025_38_422_umowa%20najmu%2018.11.2024.pdf&id=277 - - [2025-09-12 06:31:12 INF] CORS policy execution successful. [2025-09-12 06:31:12 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 06:31:12 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-12 06:31:12 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-12 06:31:12 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 17.5922ms [2025-09-12 06:31:12 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 06:31:12 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Jana%20Kazimierza%2025_38_422_umowa%20najmu%2018.11.2024.pdf&id=277 - - - 200 2114223 application/pdf 24.3507ms [2025-09-12 06:35:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=277 - - [2025-09-12 06:35:17 INF] CORS policy execution successful. [2025-09-12 06:35:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=277 - - - 204 - - 0.4218ms [2025-09-12 06:35:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=277 - - [2025-09-12 06:35:17 INF] CORS policy execution successful. [2025-09-12 06:35:17 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-12 06:35: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-12 06:35:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 06:35: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-12 06:35: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-12 06:35:17 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-12 06:35:17 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 47.1899ms [2025-09-12 06:35:17 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-12 06:35:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=277 - - - 200 - application/json;+charset=utf-8 48.9503ms [2025-09-12 06:35:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Jana%20Kazimierza%2025_38_422_umowa%20najmu%2018.11.2024.pdf&id=277 - - [2025-09-12 06:35:19 INF] CORS policy execution successful. [2025-09-12 06:35:19 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Jana%20Kazimierza%2025_38_422_umowa%20najmu%2018.11.2024.pdf&id=277 - - - 204 - - 0.9453ms [2025-09-12 06:35:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Jana%20Kazimierza%2025_38_422_umowa%20najmu%2018.11.2024.pdf&id=277 - - [2025-09-12 06:35:19 INF] CORS policy execution successful. [2025-09-12 06:35:19 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 06:35:19 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-12 06:35:19 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-12 06:35:19 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 11.6886ms [2025-09-12 06:35:19 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 06:35:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Jana%20Kazimierza%2025_38_422_umowa%20najmu%2018.11.2024.pdf&id=277 - - - 200 2114223 application/pdf 12.7501ms [2025-09-12 07:35:10 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-09-12 07:35:10 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 0.1765ms [2025-09-12 07:40:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 07:40:48 INF] CORS policy execution successful. [2025-09-12 07:40:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2319ms [2025-09-12 07:40:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 07:40:48 INF] CORS policy execution successful. [2025-09-12 07:40:48 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 07:40: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-12 07:40:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 07:40:48 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 07:40:48 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-12 07:40:48 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-12 07:40: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-12 07:40:48 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 103.4218ms [2025-09-12 07:40:48 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 07:40:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 107.0857ms [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - - 204 - - 1.3995ms [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=175 - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=175 - - - 204 - - 0.1123ms [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=175 - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=175 - - - 204 - - 0.2600ms [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=175 - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=175 - - - 204 - - 0.2304ms [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=175 - - [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1620ms [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=175 - - - 204 - - 0.2378ms [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - - 204 - - 0.2776ms [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=175 - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=175 - - - 204 - - 0.2526ms [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=175 - - [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=175 - - - 204 - - 0.5756ms [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - - 204 - - 0.4527ms [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.7142ms [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 1.2848ms [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1776ms [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 07:40: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-12 07:40:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 07:40: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-12 07:40:59 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-12 07:40:59 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-12 07:40:59 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 220.5393ms [2025-09-12 07:40:59 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - - 200 - application/json;+charset=utf-8 221.0084ms [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=175 - - [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=175 - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-12 07:40: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-12 07:40:59 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-12 07:40:59 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-12 07:40:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 07:40:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=175 - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-12 07:40:59 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-12 07:40:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-12 07:40: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-12 07:40:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-12 07:40: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-12 07:40:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 07:40: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-12 07:40:59 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-12 07:40:59 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-12 07:40:59 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 39.5186ms [2025-09-12 07:40:59 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 42.6123ms [2025-09-12 07:40:59 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-12 07:40:59 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-12 07:40:59 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-12 07:40:59 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-12 07:40:59 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-12 07:40:59 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-12 07:40:59 INF] Executed DbCommand (17ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-12 07:40:59 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-12 07:40:59 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-12 07:40:59 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 90.5354ms [2025-09-12 07:40:59 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 91.0929ms [2025-09-12 07:40:59 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-12 07:40:59 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-12 07:40:59 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 108.2093ms [2025-09-12 07:40:59 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 108.7170ms [2025-09-12 07:40:59 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-12 07:40:59 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 139.7286ms [2025-09-12 07:40:59 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=175 - - - 200 - application/json;+charset=utf-8 140.4103ms [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=175 - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-12 07:40:59 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-12 07:40:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 07:40:59 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 07:40:59 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-12 07:40:59 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-12 07:40:59 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 20.2825ms [2025-09-12 07:40:59 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 20.9091ms [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=175 - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-12 07:40:59 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-12 07:40:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 07:40:59 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 07:40:59 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-12 07:40:59 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-12 07:40:59 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 16.0307ms [2025-09-12 07:40:59 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 16.6038ms [2025-09-12 07:40:59 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 159.9878ms [2025-09-12 07:40:59 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 160.7649ms [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 07:40: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-12 07:40:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 07:40:59 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=175 - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-12 07:40: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-12 07:40:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 07:40:59 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 07:40:59 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-12 07:40:59 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-12 07:40:59 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 17.9304ms [2025-09-12 07:40:59 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 18.4965ms [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-12 07:40:59 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-12 07:40:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 07:40:59 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 07:40:59 INF] Executed DbCommand (33ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-12 07:40:59 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-12 07:40:59 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 57.0551ms [2025-09-12 07:40:59 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 57.6783ms [2025-09-12 07:40:59 INF] Executed DbCommand (10ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-12 07:40:59 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-12 07:40:59 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 26.5358ms [2025-09-12 07:40:59 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 27.0695ms [2025-09-12 07:40:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-12 07:40:59 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-09-12 07:40:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 07:40: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-12 07:40:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - [2025-09-12 07:40:59 INF] CORS policy execution successful. [2025-09-12 07:40:59 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 07:40: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-12 07:40:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 07:40:59 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 07:40:59 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-12 07:40:59 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-12 07:40:59 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 30.5628ms [2025-09-12 07:40:59 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 31.1834ms [2025-09-12 07:40:59 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-12 07:40:59 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-12 07:40:59 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 16.1764ms [2025-09-12 07:40:59 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 07:40:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - - 200 - application/json;+charset=utf-8 16.7466ms [2025-09-12 07:41:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=151 - - [2025-09-12 07:41:07 INF] CORS policy execution successful. [2025-09-12 07:41:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=151 - - - 204 - - 0.4868ms [2025-09-12 07:41:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=151 - - [2025-09-12 07:41:07 INF] CORS policy execution successful. [2025-09-12 07:41:07 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-12 07:41: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-12 07:41:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 07:41: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-12 07:41:07 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-12 07:41:07 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-12 07:41:07 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 30.6036ms [2025-09-12 07:41:07 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-12 07:41:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=151 - - - 200 - application/json;+charset=utf-8 32.3047ms [2025-09-12 07:41:12 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=576 - - [2025-09-12 07:41:12 INF] CORS policy execution successful. [2025-09-12 07:41:12 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=576 - - - 204 - - 0.2741ms [2025-09-12 07:41:12 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=576 - - [2025-09-12 07:41:12 INF] CORS policy execution successful. [2025-09-12 07:41:12 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-12 07:41:12 INF] Route matched with {action = "GetById", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-12 07:41:12 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 07:41:12 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 07:41:12 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a WHERE a."Id" = @__p_0 LIMIT 1 [2025-09-12 07:41:12 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-09-12 07:41:12 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 56.5064ms [2025-09-12 07:41:12 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-12 07:41:12 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=576 - - - 200 - application/json;+charset=utf-8 60.5096ms [2025-09-12 07:41:14 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=nizinna12_6_203_pe%C5%82nomocnictwo22082018.pdf&id=576 - - [2025-09-12 07:41:14 INF] CORS policy execution successful. [2025-09-12 07:41:14 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=nizinna12_6_203_pe%C5%82nomocnictwo22082018.pdf&id=576 - - - 204 - - 0.3827ms [2025-09-12 07:41:14 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=nizinna12_6_203_pe%C5%82nomocnictwo22082018.pdf&id=576 - - [2025-09-12 07:41:14 INF] CORS policy execution successful. [2025-09-12 07:41:14 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 07:41:14 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-12 07:41:14 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-12 07:41:14 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 0.6042ms [2025-09-12 07:41:14 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 07:41:14 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=nizinna12_6_203_pe%C5%82nomocnictwo22082018.pdf&id=576 - - - 200 64765 application/pdf 1.2041ms [2025-09-12 08:42:35 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 08:42:35 INF] CORS policy execution successful. [2025-09-12 08:42:35 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2174ms [2025-09-12 08:42:35 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 08:42:35 INF] CORS policy execution successful. [2025-09-12 08:42:35 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 08:42:35 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-09-12 08:42:35 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:42:35 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-12 08:42:35 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-12 08:42:35 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-12 08:42: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-12 08:42:35 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 69.35ms [2025-09-12 08:42:35 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 08:42:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 70.2145ms [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 204 - - 0.2512ms [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=302 - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=302 - - - 204 - - 0.2283ms [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2515ms [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=302 - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=302 - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=302 - - - 204 - - 0.0748ms [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=302 - - - 204 - - 0.9332ms [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=302 - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=302 - - - 204 - - 0.2312ms [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=302 - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=302 - - - 204 - - 0.2796ms [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - - 204 - - 0.2493ms [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=302 - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=302 - - - 204 - - 0.2575ms [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1598ms [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0805ms [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 204 - - 0.1623ms [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.3309ms [2025-09-12 08:42:43 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 08:42: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-12 08:42:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=302 - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-12 08:42: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-12 08:42:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-12 08:42: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-12 08:42:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=302 - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=302 - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-12 08:42: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-12 08:42:43 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 08:42:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:42:43 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-12 08:42:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:42:43 INF] Executed DbCommand (19ms) [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-12 08:42:43 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-12 08:42:43 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 40.5341ms [2025-09-12 08:42:43 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 200 - application/json;+charset=utf-8 41.3286ms [2025-09-12 08:42:43 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=302 - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-12 08:42: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-12 08:42:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:42:43 INF] Executed DbCommand (10ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=302 - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-12 08:42:43 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-12 08:42:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:42:43 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-12 08:42:43 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-12 08:42:43 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-12 08:42: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-12 08:42:43 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 87.6043ms [2025-09-12 08:42:43 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 89.0733ms [2025-09-12 08:42:43 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 08:42:43 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-12 08:42:43 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-12 08:42:43 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-12 08:42:43 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 38.9839ms [2025-09-12 08:42:43 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 48.7244ms [2025-09-12 08:42: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-12 08:42:43 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-12 08:42:43 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-12 08:42:43 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-12 08:42:43 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 115.6968ms [2025-09-12 08:42:43 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-12 08:42: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-12 08:42:43 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 93.1495ms [2025-09-12 08:42:43 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 93.8658ms [2025-09-12 08:42:43 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 125.5172ms [2025-09-12 08:42:43 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-12 08:42: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-12 08:42:43 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 148.391ms [2025-09-12 08:42:43 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=302 - - - 200 - application/json;+charset=utf-8 150.5073ms [2025-09-12 08:42:43 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - [2025-09-12 08:42:43 INF] CORS policy execution successful. [2025-09-12 08:42:43 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-12 08:42:43 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-12 08:42:43 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:42:43 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 144.8195ms [2025-09-12 08:42:43 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-12 08:42:43 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 145.4869ms [2025-09-12 08:42:43 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 08:42:44 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-12 08:42:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=302 - - [2025-09-12 08:42:44 INF] CORS policy execution successful. [2025-09-12 08:42:44 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-12 08:42: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-12 08:42:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:42:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 08:42:44 INF] CORS policy execution successful. [2025-09-12 08:42:44 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 08:42: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-12 08:42:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-12 08:42:44 INF] CORS policy execution successful. [2025-09-12 08:42:44 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-12 08:42: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-12 08:42:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:42:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:42: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-12 08:42:44 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 37.2289ms [2025-09-12 08:42:44 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-12 08:42:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 37.8519ms [2025-09-12 08:42:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-12 08:42:44 INF] CORS policy execution successful. [2025-09-12 08:42:44 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-12 08:42: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-12 08:42:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:42: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-12 08:42: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-12 08:42: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-12 08:42:44 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-12 08:42: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-12 08:42: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-12 08:42:44 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 33.9746ms [2025-09-12 08:42:44 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-12 08:42:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 34.5661ms [2025-09-12 08:42:44 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-12 08:42: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-12 08:42:44 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 35.6905ms [2025-09-12 08:42:44 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-12 08:42:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 36.2247ms [2025-09-12 08:42: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-12 08:42:44 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 42.0765ms [2025-09-12 08:42:44 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 08:42:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 42.7358ms [2025-09-12 08:42: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-12 08:42: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-12 08:42: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-12 08:42:44 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 33.8508ms [2025-09-12 08:42:44 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-12 08:42:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 34.4589ms [2025-09-12 08:42:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-12 08:42:44 INF] CORS policy execution successful. [2025-09-12 08:42:44 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 08:42: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-12 08:42:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:42: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-12 08:42:44 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-12 08:42:44 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-12 08:42:44 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 19.55ms [2025-09-12 08:42:44 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 08:42:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 200 - application/json;+charset=utf-8 20.1517ms [2025-09-12 08:42:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=106 - - [2025-09-12 08:42:53 INF] CORS policy execution successful. [2025-09-12 08:42:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=106 - - - 204 - - 0.3157ms [2025-09-12 08:42:53 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=106 - - [2025-09-12 08:42:53 INF] CORS policy execution successful. [2025-09-12 08:42:53 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-12 08:42:53 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-12 08:42:53 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:42:53 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-12 08:42:53 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-12 08:42:53 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-09-12 08:42:53 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 20.4897ms [2025-09-12 08:42:53 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-12 08:42:53 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=106 - - - 200 - application/json;+charset=utf-8 21.8019ms [2025-09-12 08:42:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=489 - - [2025-09-12 08:42:55 INF] CORS policy execution successful. [2025-09-12 08:42:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=489 - - - 204 - - 0.2150ms [2025-09-12 08:42:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=489 - - [2025-09-12 08:42:55 INF] CORS policy execution successful. [2025-09-12 08:42:55 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-12 08:42:55 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-12 08:42:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:42:55 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 08:42:55 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-12 08:42:55 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-09-12 08:42:55 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 19.0735ms [2025-09-12 08:42:55 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-12 08:42:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=489 - - - 200 - application/json;+charset=utf-8 19.8831ms [2025-09-12 08:42:57 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=bednarska27_1_389_pe%C3%85%C2%82nomocnictwo29092022.pdf&id=489 - - [2025-09-12 08:42:57 INF] CORS policy execution successful. [2025-09-12 08:42:57 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=bednarska27_1_389_pe%C3%85%C2%82nomocnictwo29092022.pdf&id=489 - - - 204 - - 0.2914ms [2025-09-12 08:42:57 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=bednarska27_1_389_pe%C3%85%C2%82nomocnictwo29092022.pdf&id=489 - - [2025-09-12 08:42:57 INF] CORS policy execution successful. [2025-09-12 08:42:57 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 08:42:57 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-12 08:42:57 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-12 08:42:57 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 6.5693ms [2025-09-12 08:42:57 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 08:42:57 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=bednarska27_1_389_pe%C3%85%C2%82nomocnictwo29092022.pdf&id=489 - - - 200 1289870 application/pdf 7.3882ms [2025-09-12 08:43:23 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 08:43:23 INF] CORS policy execution successful. [2025-09-12 08:43:23 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2863ms [2025-09-12 08:43:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 08:43:23 INF] CORS policy execution successful. [2025-09-12 08:43:23 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 08:43:23 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-12 08:43:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:43:23 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 08:43:23 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-12 08:43: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-12 08:43:23 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-12 08:43:23 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 256.6106ms [2025-09-12 08:43:23 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 08:43:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 257.2271ms [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 204 - - 0.2251ms [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=302 - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=302 - - - 204 - - 0.8746ms [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=302 - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=302 - - - 204 - - 0.1168ms [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0936ms [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=302 - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=302 - - - 204 - - 0.2224ms [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=302 - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=302 - - - 204 - - 0.0607ms [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=302 - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=302 - - - 204 - - 0.2350ms [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - - 204 - - 0.2417ms [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=302 - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2172ms [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=302 - - - 204 - - 0.2400ms [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 204 - - 0.0810ms [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.2223ms [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2502ms [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 08:43: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-12 08:43:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=302 - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=302 - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-12 08:43: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-12 08:43:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:43: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-12 08:43:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-12 08:43: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-12 08:43:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=302 - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-12 08:43:34 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-12 08:43:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:43:34 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 08:43:34 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 08:43:34 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-12 08:43:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=302 - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-12 08:43: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-12 08:43:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:43:34 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-12 08:43:34 INF] Executed DbCommand (19ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-09-12 08:43: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-12 08:43:34 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 51.9323ms [2025-09-12 08:43:34 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 52.2416ms [2025-09-12 08:43:34 INF] Executed DbCommand (6ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-12 08:43:34 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-12 08:43:34 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 59.8728ms [2025-09-12 08:43:34 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 200 - application/json;+charset=utf-8 60.5010ms [2025-09-12 08:43:34 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-12 08:43:34 INF] Executed DbCommand (10ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-12 08:43:34 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-12 08:43:34 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 53.243ms [2025-09-12 08:43:34 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 53.9208ms [2025-09-12 08:43:34 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-12 08:43:34 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-09-12 08:43: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-12 08:43:34 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 29.6538ms [2025-09-12 08:43:34 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-12 08:43:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 30.2972ms [2025-09-12 08:43:34 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 08:43:34 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-12 08:43:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=302 - - [2025-09-12 08:43:34 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43: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-12 08:43:34 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-12 08:43: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-12 08:43:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:43:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 08:43: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-12 08:43:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:43:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=302 - - [2025-09-12 08:43:34 INF] CORS policy execution successful. [2025-09-12 08:43:34 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-12 08:43: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-12 08:43:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:43:35 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-12 08:43: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-12 08:43:35 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-12 08:43:35 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-12 08:43:35 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 165.5979ms [2025-09-12 08:43:35 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-12 08:43:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=302 - - - 200 - application/json;+charset=utf-8 167.8260ms [2025-09-12 08:43:35 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-12 08:43: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-12 08:43:35 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-12 08:43:35 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-12 08:43:35 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 60.6499ms [2025-09-12 08:43:35 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-12 08:43:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 61.5310ms [2025-09-12 08:43: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-12 08:43:35 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-12 08:43:35 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 82.8027ms [2025-09-12 08:43:35 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-12 08:43:35 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 71.8295ms [2025-09-12 08:43:35 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 08:43:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 72.3127ms [2025-09-12 08:43:35 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-12 08:43:35 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-12 08:43:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 89.0522ms [2025-09-12 08:43:35 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-12 08:43:35 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 89.3179ms [2025-09-12 08:43:35 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-12 08:43:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 89.8716ms [2025-09-12 08:43: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-12 08:43:35 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 192.2658ms [2025-09-12 08:43:35 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-12 08:43:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 193.0028ms [2025-09-12 08:43:35 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-12 08:43:35 INF] CORS policy execution successful. [2025-09-12 08:43:35 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-12 08:43:35 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-12 08:43:35 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:43:35 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-12 08:43:35 INF] CORS policy execution successful. [2025-09-12 08:43:35 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-12 08:43:35 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-12 08:43:35 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:43:35 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-12 08:43:35 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-12 08:43:35 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-12 08:43:35 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-12 08:43:35 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 29.6877ms [2025-09-12 08:43:35 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-12 08:43:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 30.4394ms [2025-09-12 08:43:35 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-12 08:43:35 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-12 08:43:35 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 23.3875ms [2025-09-12 08:43:35 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-12 08:43:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 24.1026ms [2025-09-12 08:43:35 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-12 08:43:35 INF] CORS policy execution successful. [2025-09-12 08:43:35 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 08:43: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-12 08:43:35 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:43:35 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-12 08:43:35 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-12 08:43:35 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-12 08:43:35 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 19.2568ms [2025-09-12 08:43:35 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 08:43:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 200 - application/json;+charset=utf-8 19.7373ms [2025-09-12 08:43:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=256 - - [2025-09-12 08:43:38 INF] CORS policy execution successful. [2025-09-12 08:43:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=256 - - - 204 - - 0.3331ms [2025-09-12 08:43:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=256 - - [2025-09-12 08:43:38 INF] CORS policy execution successful. [2025-09-12 08:43:38 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-12 08:43:38 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-12 08:43:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:43:38 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-12 08:43:38 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-12 08:43:38 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-12 08:43:38 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 33.4147ms [2025-09-12 08:43:38 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-12 08:43:38 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=256 - - - 200 - application/json;+charset=utf-8 34.0032ms [2025-09-12 08:43:40 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=bednarska27_1_389_umowa_najmu_01102024.pdf&id=256 - - [2025-09-12 08:43:40 INF] CORS policy execution successful. [2025-09-12 08:43:40 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=bednarska27_1_389_umowa_najmu_01102024.pdf&id=256 - - - 204 - - 0.2856ms [2025-09-12 08:43:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=bednarska27_1_389_umowa_najmu_01102024.pdf&id=256 - - [2025-09-12 08:43:40 INF] CORS policy execution successful. [2025-09-12 08:43:40 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 08:43:40 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-12 08:43:40 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-12 08:43:40 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 183.967ms [2025-09-12 08:43:40 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 08:43:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=bednarska27_1_389_umowa_najmu_01102024.pdf&id=256 - - - 200 9986581 application/pdf 184.7289ms [2025-09-12 08:44:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 08:44:41 INF] CORS policy execution successful. [2025-09-12 08:44:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.7812ms [2025-09-12 08:44:41 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 08:44:41 INF] CORS policy execution successful. [2025-09-12 08:44:41 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 08:44: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-12 08:44:41 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:44:41 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 08:44:41 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-12 08:44: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-12 08:44: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-12 08:44:41 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 67.4642ms [2025-09-12 08:44:41 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 08:44:41 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 68.4662ms [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - - 204 - - 0.2911ms [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=175 - - - 204 - - 0.2785ms [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1364ms [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=175 - - - 204 - - 0.1586ms [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=175 - - - 204 - - 0.1466ms [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=175 - - - 204 - - 0.0949ms [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=175 - - - 204 - - 0.0911ms [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - - 204 - - 0.4418ms [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=175 - - - 204 - - 0.1213ms [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - - 204 - - 0.2022ms [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2085ms [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.2136ms [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1298ms [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 08:44:48 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-12 08:44:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-12 08:44:48 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-12 08:44:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-12 08:44:48 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-12 08:44:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-12 08:44:48 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-12 08:44:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-12 08:44:48 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-12 08:44:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:44: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-12 08:44:48 INF] Executed DbCommand (9ms) [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-12 08:44:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-12 08:44:48 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-12 08:44:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:44:48 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-12 08:44:48 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-12 08:44:48 INF] Executed DbCommand (18ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-12 08:44:48 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-12 08:44:48 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-12 08:44:48 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-12 08:44:48 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 68.589ms [2025-09-12 08:44:48 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 69.0927ms [2025-09-12 08:44:48 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-12 08:44:48 INF] Executed DbCommand (12ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-12 08:44:48 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-12 08:44:48 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 82.1346ms [2025-09-12 08:44:48 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - - 200 - application/json;+charset=utf-8 82.5999ms [2025-09-12 08:44:48 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 08:44:48 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-12 08:44:48 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-12 08:44:48 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-12 08:44:48 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 52.7504ms [2025-09-12 08:44:48 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 53.3154ms [2025-09-12 08:44:48 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-12 08:44:48 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 70.0589ms [2025-09-12 08:44:48 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 70.6203ms [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=175 - - [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-12 08:44:48 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-12 08:44:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 08:44:48 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-12 08:44:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-12 08:44:48 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-12 08:44:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:44:48 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-12 08:44:48 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-12 08:44:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:44:48 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-12 08:44:48 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-12 08:44:48 INF] Executed DbCommand (4ms) [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-12 08:44:48 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-12 08:44:48 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-12 08:44:48 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 50.24ms [2025-09-12 08:44:48 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 50.6104ms [2025-09-12 08:44:48 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 144.9301ms [2025-09-12 08:44:48 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 150.5852ms [2025-09-12 08:44:48 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-12 08:44:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-12 08:44:48 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-12 08:44:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:44:48 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-12 08:44:48 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 08:44:48 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-12 08:44:48 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-12 08:44:48 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 60.4865ms [2025-09-12 08:44:48 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 64.3226ms [2025-09-12 08:44:48 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-12 08:44:48 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-12 08:44:48 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-12 08:44:48 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-12 08:44:48 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 186.5017ms [2025-09-12 08:44:48 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=175 - - - 200 - application/json;+charset=utf-8 187.3298ms [2025-09-12 08:44:48 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-12 08:44:48 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 53.9124ms [2025-09-12 08:44:48 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 54.5523ms [2025-09-12 08:44:48 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-12 08:44:48 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 110.1061ms [2025-09-12 08:44:48 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 110.4904ms [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-12 08:44:48 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-12 08:44:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:44:48 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - [2025-09-12 08:44:48 INF] CORS policy execution successful. [2025-09-12 08:44:48 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 08:44:48 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-12 08:44:48 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:44:48 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-12 08:44:48 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 115.2641ms [2025-09-12 08:44:48 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 120.6298ms [2025-09-12 08:44:48 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 08:44:48 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-12 08:44:48 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-12 08:44:48 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 31.2967ms [2025-09-12 08:44:48 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - - 200 - application/json;+charset=utf-8 32.0811ms [2025-09-12 08:44:48 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 08:44:48 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-12 08:44:48 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-12 08:44:48 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 39.1011ms [2025-09-12 08:44:48 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-12 08:44:48 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 39.8022ms [2025-09-12 08:44:51 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=151 - - [2025-09-12 08:44:51 INF] CORS policy execution successful. [2025-09-12 08:44:51 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=151 - - - 204 - - 0.1888ms [2025-09-12 08:44:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=151 - - [2025-09-12 08:44:51 INF] CORS policy execution successful. [2025-09-12 08:44:51 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-12 08:44: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-12 08:44:51 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:44: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-12 08:44: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-12 08:44:51 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-12 08:44:51 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 34.2866ms [2025-09-12 08:44:51 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-12 08:44:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=151 - - - 200 - application/json;+charset=utf-8 34.8346ms [2025-09-12 08:45:00 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - [2025-09-12 08:45:00 INF] CORS policy execution successful. [2025-09-12 08:45:00 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/update - - - 204 - - 0.2219ms [2025-09-12 08:45:01 INF] Request starting HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryBpezHuJnaHdaJKfa 442316 [2025-09-12 08:45:01 INF] CORS policy execution successful. [2025-09-12 08:45:01 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-09-12 08:45:01 INF] Route matched with {action = "Update", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Update(Web.Models.API.RentalContracts.RentalContractUpdateVM) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-12 08:45:01 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:45:01 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 08:45:01 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId" FROM "RentalContracts" AS r WHERE r."Id" = @__p_0 LIMIT 1 [2025-09-12 08:45:01 INF] Executed DbCommand (2ms) [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-12 08:45:01 INF] Executing StatusCodeResult, setting HTTP status code 200 [2025-09-12 08:45:01 INF] Executed action Web.Controllers.API.RentalContractController.Update (Web) in 795.9356ms [2025-09-12 08:45:01 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.Update (Web)' [2025-09-12 08:45:01 INF] Request finished HTTP/1.1 PUT http://hmgt.metrohousedev.com/api/rentalContract/update multipart/form-data;+boundary=----WebKitFormBoundaryBpezHuJnaHdaJKfa 442316 - 200 0 - 812.8243ms [2025-09-12 08:45:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - [2025-09-12 08:45:02 INF] CORS policy execution successful. [2025-09-12 08:45:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - - 204 - - 0.2929ms [2025-09-12 08:45:02 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - [2025-09-12 08:45:02 INF] CORS policy execution successful. [2025-09-12 08:45:02 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-12 08:45:02 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-12 08:45:02 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 08:45: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-12 08:45:02 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-12 08:45:02 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-12 08:45:02 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 39.9545ms [2025-09-12 08:45:02 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-12 08:45:02 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 40.6677ms [2025-09-12 08:53:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=175 - - [2025-09-12 08:53:05 INF] CORS policy execution successful. [2025-09-12 08:53:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=175 - - - 204 - - 0.2836ms [2025-09-12 08:53:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-12 08:53:05 INF] CORS policy execution successful. [2025-09-12 08:53:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1609ms [2025-09-12 08:53:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=175 - - [2025-09-12 08:53:05 INF] CORS policy execution successful. [2025-09-12 08:53:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=175 - - - 204 - - 0.2083ms [2025-09-12 08:53:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - [2025-09-12 08:53:05 INF] CORS policy execution successful. [2025-09-12 08:53:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - - 204 - - 0.2750ms [2025-09-12 08:53:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=175 - - [2025-09-12 08:53:05 INF] CORS policy execution successful. [2025-09-12 08:53:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=175 - - - 204 - - 0.3489ms [2025-09-12 08:53:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=175 - - [2025-09-12 08:53:05 INF] CORS policy execution successful. [2025-09-12 08:53:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=175 - - - 204 - - 0.1126ms [2025-09-12 08:53:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=175 - - [2025-09-12 08:53:05 INF] CORS policy execution successful. [2025-09-12 08:53:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=175 - - - 204 - - 0.1925ms [2025-09-12 08:53:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - [2025-09-12 08:53:05 INF] CORS policy execution successful. [2025-09-12 08:53:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - - 204 - - 0.1412ms [2025-09-12 08:53:05 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=175 - - [2025-09-12 08:53:05 INF] CORS policy execution successful. [2025-09-12 08:53:05 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=175 - - - 204 - - 0.1214ms [2025-09-12 08:53:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 08:53:06 INF] CORS policy execution successful. [2025-09-12 08:53:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.5282ms [2025-09-12 08:53:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-12 08:53:06 INF] CORS policy execution successful. [2025-09-12 08:53:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.2153ms [2025-09-12 08:53:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-12 08:53:06 INF] CORS policy execution successful. [2025-09-12 08:53:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2249ms [2025-09-12 09:07:25 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 09:07:25 INF] CORS policy execution successful. [2025-09-12 09:07:25 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2776ms [2025-09-12 09:07:25 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 09:07:25 INF] CORS policy execution successful. [2025-09-12 09:07:25 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 09:07: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-12 09:07:25 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:07: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-12 09:07:25 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-12 09:07: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-12 09:07:25 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 33.5209ms [2025-09-12 09:07:25 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 09:07:25 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 34.1838ms [2025-09-12 09:07:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 09:07:27 INF] CORS policy execution successful. [2025-09-12 09:07:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2112ms [2025-09-12 09:07:27 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 09:07:27 INF] CORS policy execution successful. [2025-09-12 09:07:27 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 09:07:27 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-12 09:07:27 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:07: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-12 09:07:27 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-12 09:07:27 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-12 09:07:27 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-12 09:07:27 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 64.1503ms [2025-09-12 09:07:27 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 09:07:27 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 64.8809ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=10 - - - 204 - - 0.2525ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=10 - - [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=10 - - - 204 - - 0.2012ms [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=10 - - - 204 - - 0.2562ms [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0793ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=10 - - - 204 - - 0.1841ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=10 - - - 204 - - 0.0725ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=10 - - - 204 - - 0.1981ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=10 - - - 204 - - 0.2126ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=10 - - - 204 - - 0.0656ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=10 - - - 204 - - 0.0694ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1728ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0801ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1928ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 09:10:15 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-12 09:10:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:10:15 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:10: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-12 09:10:15 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-12 09:10:15 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 21.6099ms [2025-09-12 09:10:15 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=10 - - - 200 - application/json;+charset=utf-8 22.1807ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-12 09:10:15 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-09-12 09:10:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:10:15 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:10:15 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-12 09:10:15 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-12 09:10:15 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 12.9335ms [2025-09-12 09:10:15 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=10 - - - 200 - application/json;+charset=utf-8 13.7364ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-12 09:10:15 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-09-12 09:10:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:10:15 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:10:15 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-12 09:10:15 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-12 09:10:15 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 52.8477ms [2025-09-12 09:10:15 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=10 - - - 200 - application/json;+charset=utf-8 53.2944ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-12 09:10:15 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-09-12 09:10:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:10:15 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-12 09:10:15 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-09-12 09:10:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:10:15 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:10:15 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-12 09:10:15 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-12 09:10:15 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 25.6128ms [2025-09-12 09:10:15 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=10 - - - 200 - application/json;+charset=utf-8 26.0352ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-12 09:10:15 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-09-12 09:10:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:10: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-12 09:10:15 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-12 09:10:15 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-12 09:10:15 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 13.5744ms [2025-09-12 09:10:15 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=10 - - - 200 - application/json;+charset=utf-8 13.9952ms [2025-09-12 09:10:15 INF] Executed DbCommand (41ms) [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-12 09:10:15 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-12 09:10:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-12 09:10:15 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-12 09:10:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:10:15 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:10:15 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-09-12 09:10:15 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-12 09:10:15 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 16.3963ms [2025-09-12 09:10:15 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=10 - - - 200 - application/json;+charset=utf-8 16.8577ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-12 09:10:15 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-09-12 09:10:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:10: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-12 09:10:15 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-12 09:10:15 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-12 09:10:15 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 30.2606ms [2025-09-12 09:10:15 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=10 - - - 200 - application/json;+charset=utf-8 30.6683ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 09:10:15 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-09-12 09:10:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:10:15 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-12 09:10:15 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-09-12 09:10:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:10:15 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:10:15 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-12 09:10:15 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-12 09:10:15 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 15.2937ms [2025-09-12 09:10:15 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=10 - - - 200 - application/json;+charset=utf-8 15.8309ms [2025-09-12 09:10:15 INF] Executed DbCommand (17ms) [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-12 09:10:15 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-12 09:10:15 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 39.7484ms [2025-09-12 09:10:15 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 40.1967ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-12 09:10:15 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-12 09:10:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:10:15 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:10:15 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 180.1362ms [2025-09-12 09:10:15 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 180.5294ms [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-12 09:10:15 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-12 09:10:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:10:15 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:10:15 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=10 - - [2025-09-12 09:10:15 INF] CORS policy execution successful. [2025-09-12 09:10:15 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 09:10:15 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-12 09:10:15 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:10:15 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:10:15 INF] Executed DbCommand (47ms) [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-12 09:10:15 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-12 09:10:15 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 64.2653ms [2025-09-12 09:10:15 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 64.6778ms [2025-09-12 09:10:15 INF] Executed DbCommand (35ms) [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-12 09:10:15 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-12 09:10:15 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 50.7058ms [2025-09-12 09:10:15 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 51.1247ms [2025-09-12 09:10:15 INF] Executed DbCommand (6ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-12 09:10:15 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-12 09:10:15 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 35.2725ms [2025-09-12 09:10:15 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 09:10:15 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=10 - - - 200 - application/json;+charset=utf-8 35.7486ms [2025-09-12 09:13:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=11 - - [2025-09-12 09:13:46 INF] CORS policy execution successful. [2025-09-12 09:13:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=11 - - - 204 - - 1.8553ms [2025-09-12 09:13:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=11 - - [2025-09-12 09:13:46 INF] CORS policy execution successful. [2025-09-12 09:13:46 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-12 09:13:46 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-12 09:13:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:13: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-12 09:13:46 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-12 09:13:47 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-12 09:13:47 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 34.0871ms [2025-09-12 09:13:47 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-12 09:13:47 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=11 - - - 200 - application/json;+charset=utf-8 34.6275ms [2025-09-12 09:13:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=zwyci%C4%99zc%C3%B3w40_9_186_umowa_najmu_01.10.2024.pdf&id=11 - - [2025-09-12 09:13:49 INF] CORS policy execution successful. [2025-09-12 09:13:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=zwyci%C4%99zc%C3%B3w40_9_186_umowa_najmu_01.10.2024.pdf&id=11 - - - 204 - - 0.2456ms [2025-09-12 09:13:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=zwyci%C4%99zc%C3%B3w40_9_186_umowa_najmu_01.10.2024.pdf&id=11 - - [2025-09-12 09:13:49 INF] CORS policy execution successful. [2025-09-12 09:13:49 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 09:13:49 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-12 09:13:49 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-12 09:13:49 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 2.2044ms [2025-09-12 09:13:49 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 09:13:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=zwyci%C4%99zc%C3%B3w40_9_186_umowa_najmu_01.10.2024.pdf&id=11 - - - 200 2089653 application/pdf 2.7953ms [2025-09-12 09:39:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 09:39:42 INF] CORS policy execution successful. [2025-09-12 09:39:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2218ms [2025-09-12 09:45:10 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=16 - - [2025-09-12 09:45:10 INF] CORS policy execution successful. [2025-09-12 09:45:10 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=16 - - - 204 - - 0.2269ms [2025-09-12 09:45:10 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=16 - - [2025-09-12 09:45:10 INF] CORS policy execution successful. [2025-09-12 09:45:10 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-12 09:45:10 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-12 09:45:10 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:45: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-12 09:45:10 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-12 09:45:10 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-09-12 09:45:10 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 23.3907ms [2025-09-12 09:45:10 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-12 09:45:10 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=16 - - - 200 - application/json;+charset=utf-8 24.0467ms [2025-09-12 09:45:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=zwyci%C4%99zc%C3%B3w40_9_186_pe%C5%82nomocnictwo%2023042018.pdf&id=16 - - [2025-09-12 09:45:11 INF] CORS policy execution successful. [2025-09-12 09:45:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=zwyci%C4%99zc%C3%B3w40_9_186_pe%C5%82nomocnictwo%2023042018.pdf&id=16 - - - 204 - - 0.2418ms [2025-09-12 09:45:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=zwyci%C4%99zc%C3%B3w40_9_186_pe%C5%82nomocnictwo%2023042018.pdf&id=16 - - [2025-09-12 09:45:11 INF] CORS policy execution successful. [2025-09-12 09:45:11 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 09:45:11 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-12 09:45:11 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-12 09:45:11 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 1.5565ms [2025-09-12 09:45:11 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 09:45:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=zwyci%C4%99zc%C3%B3w40_9_186_pe%C5%82nomocnictwo%2023042018.pdf&id=16 - - - 200 155033 application/pdf 2.7864ms [2025-09-12 09:50:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 09:50:28 INF] CORS policy execution successful. [2025-09-12 09:50:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2191ms [2025-09-12 09:50:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 09:50:28 INF] CORS policy execution successful. [2025-09-12 09:50:28 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 09:50:28 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-12 09:50:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:50:28 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-12 09:50:28 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-12 09:50: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-12 09:50:28 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-12 09:50:28 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 71.6938ms [2025-09-12 09:50:28 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 09:50:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 72.2191ms [2025-09-12 09:50:52 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 09:50:52 INF] CORS policy execution successful. [2025-09-12 09:50:52 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2306ms [2025-09-12 09:50:52 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 09:50:52 INF] CORS policy execution successful. [2025-09-12 09:50:52 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 09:50:52 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-12 09:50:52 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:50:52 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:50:52 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-12 09:50:52 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-12 09:50:52 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 25.5552ms [2025-09-12 09:50:52 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 09:50:52 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 26.1350ms [2025-09-12 09:50:53 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 09:50:53 INF] CORS policy execution successful. [2025-09-12 09:50:53 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.1978ms [2025-09-12 09:50:53 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 09:50:53 INF] CORS policy execution successful. [2025-09-12 09:50:53 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 09:50: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-12 09:50:53 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:50: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-12 09:50:53 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-12 09:50: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-12 09:50: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-12 09:50:53 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 59.2952ms [2025-09-12 09:50:53 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 09:50:53 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 59.9220ms [2025-09-12 09:51:06 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 09:51:06 INF] CORS policy execution successful. [2025-09-12 09:51:06 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2342ms [2025-09-12 09:51:06 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 09:51:06 INF] CORS policy execution successful. [2025-09-12 09:51:06 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 09:51: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-12 09:51:06 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:51: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-12 09:51:06 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-09-12 09:51: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-12 09:51:06 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 235.4394ms [2025-09-12 09:51:06 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 09:51:06 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 235.9206ms [2025-09-12 09:51:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 09:51:07 INF] CORS policy execution successful. [2025-09-12 09:51:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.6532ms [2025-09-12 09:51:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 09:51:07 INF] CORS policy execution successful. [2025-09-12 09:51:07 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 09:51: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-12 09:51:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:51: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-12 09:51:07 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-09-12 09:51:07 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-12 09:51: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-12 09:51:07 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 59.7473ms [2025-09-12 09:51:07 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 09:51:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 60.3128ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=175 - - - 204 - - 0.2427ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - - 204 - - 0.0863ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1225ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=175 - - - 204 - - 0.1455ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=175 - - [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=175 - - - 204 - - 0.1162ms [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=175 - - - 204 - - 0.2030ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=175 - - - 204 - - 0.2273ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - - 204 - - 0.0734ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=175 - - - 204 - - 0.0762ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - - 204 - - 0.1138ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1895ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0749ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2158ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-12 09:51: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-12 09:51:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:51: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-12 09:51:46 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-12 09:51: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-12 09:51:46 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 51.5829ms [2025-09-12 09:51:46 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=175 - - - 200 - application/json;+charset=utf-8 51.9831ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 09:51: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-12 09:51:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:51: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-12 09:51:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-12 09:51: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-12 09:51:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:51:46 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-12 09:51:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-12 09:51: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-12 09:51:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:51:46 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-12 09:51:46 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-12 09:51: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-12 09:51:46 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 27.3056ms [2025-09-12 09:51:46 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 27.8145ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-12 09:51: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-12 09:51:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:51: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-12 09:51:46 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-12 09:51: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-12 09:51:46 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 13.8858ms [2025-09-12 09:51:46 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 14.3491ms [2025-09-12 09:51:46 INF] Executed DbCommand (68ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-12 09:51:46 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-12 09:51:46 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 83.7111ms [2025-09-12 09:51:46 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - - 200 - application/json;+charset=utf-8 84.1879ms [2025-09-12 09:51:46 INF] Executed DbCommand (45ms) [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-12 09:51: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-12 09:51:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-12 09:51: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-12 09:51:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:51:46 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-12 09:51:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-12 09:51: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-12 09:51:46 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 14.6783ms [2025-09-12 09:51:46 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 15.0621ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-12 09:51: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-12 09:51:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:51: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-12 09:51:46 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-12 09:51: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-12 09:51:46 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 27.0881ms [2025-09-12 09:51:46 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 27.4836ms [2025-09-12 09:51:46 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 136.0432ms [2025-09-12 09:51:46 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 136.5654ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-12 09:51: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-12 09:51:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:51: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-12 09:51:46 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-09-12 09:51: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-12 09:51:46 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 14.0579ms [2025-09-12 09:51:46 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 14.4966ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-12 09:51: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-12 09:51:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:51: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-12 09:51: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-12 09:51: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-12 09:51:46 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 14.7235ms [2025-09-12 09:51:46 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=175 - - - 200 - application/json;+charset=utf-8 15.1351ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 09:51: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-12 09:51:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:51: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-12 09:51:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-12 09:51: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-12 09:51:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:51: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-12 09:51:46 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-12 09:51: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-12 09:51:46 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 34.8724ms [2025-09-12 09:51:46 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 35.2730ms [2025-09-12 09:51:46 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-12 09:51: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-12 09:51:46 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 24.3314ms [2025-09-12 09:51:46 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 24.8410ms [2025-09-12 09:51:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-12 09:51: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-12 09:51:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:51: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-12 09:51:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - [2025-09-12 09:51:46 INF] CORS policy execution successful. [2025-09-12 09:51:46 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 09:51: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-12 09:51:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:51: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-12 09:51:46 INF] Executed DbCommand (14ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-09-12 09:51: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-12 09:51:46 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 25.6664ms [2025-09-12 09:51:46 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 26.0634ms [2025-09-12 09:51:46 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-09-12 09:51:46 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-12 09:51:46 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 14.6293ms [2025-09-12 09:51:46 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 09:51:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=175 - - - 200 - application/json;+charset=utf-8 15.1607ms [2025-09-12 09:52:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=179 - - [2025-09-12 09:52:26 INF] CORS policy execution successful. [2025-09-12 09:52:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=179 - - - 204 - - 0.1989ms [2025-09-12 09:52:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=179 - - [2025-09-12 09:52:26 INF] CORS policy execution successful. [2025-09-12 09:52:26 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-12 09:52:26 INF] Route matched with {action = "GetById", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-09-12 09:52:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:52:26 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:52:26 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a WHERE a."Id" = @__p_0 LIMIT 1 [2025-09-12 09:52:26 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-09-12 09:52:26 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 19.306ms [2025-09-12 09:52:26 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-09-12 09:52:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=179 - - - 200 - application/json;+charset=utf-8 20.1219ms [2025-09-12 09:52:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=nizinna12_6_203_protok%C3%B3%C5%8230042021.pdf&id=179 - - [2025-09-12 09:52:28 INF] CORS policy execution successful. [2025-09-12 09:52:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=nizinna12_6_203_protok%C3%B3%C5%8230042021.pdf&id=179 - - - 204 - - 0.2374ms [2025-09-12 09:52:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=nizinna12_6_203_protok%C3%B3%C5%8230042021.pdf&id=179 - - [2025-09-12 09:52:28 INF] CORS policy execution successful. [2025-09-12 09:52:28 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 09:52:28 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-12 09:52:28 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-12 09:52:28 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 1.9976ms [2025-09-12 09:52:28 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 09:52:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=nizinna12_6_203_protok%C3%B3%C5%8230042021.pdf&id=179 - - - 200 112563 application/pdf 2.5852ms [2025-09-12 09:52:47 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=151 - - [2025-09-12 09:52:47 INF] CORS policy execution successful. [2025-09-12 09:52:47 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=151 - - - 204 - - 0.2359ms [2025-09-12 09:52:47 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=151 - - [2025-09-12 09:52:47 INF] CORS policy execution successful. [2025-09-12 09:52:47 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-12 09:52:47 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-12 09:52:47 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:52:47 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-12 09:52:47 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-12 09:52:47 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-12 09:52:47 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 37.2319ms [2025-09-12 09:52:47 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-12 09:52:47 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=151 - - - 200 - application/json;+charset=utf-8 37.8250ms [2025-09-12 09:52:48 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=nizinna12_6_203_umowa_najmu01102023.pdf&id=151 - - [2025-09-12 09:52:48 INF] CORS policy execution successful. [2025-09-12 09:52:48 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=nizinna12_6_203_umowa_najmu01102023.pdf&id=151 - - - 204 - - 0.2354ms [2025-09-12 09:52:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=nizinna12_6_203_umowa_najmu01102023.pdf&id=151 - - [2025-09-12 09:52:49 INF] CORS policy execution successful. [2025-09-12 09:52:49 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 09:52:49 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-12 09:52:49 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-12 09:52:49 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 1.4653ms [2025-09-12 09:52:49 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 09:52:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=nizinna12_6_203_umowa_najmu01102023.pdf&id=151 - - - 200 441301 application/pdf 1.9980ms [2025-09-12 09:53:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 09:53:02 INF] CORS policy execution successful. [2025-09-12 09:53:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 1.6265ms [2025-09-12 09:53:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 09:53:03 INF] CORS policy execution successful. [2025-09-12 09:53:03 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 09:53: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-12 09:53:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:53:03 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:53:03 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-12 09:53:03 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-12 09:53: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-12 09:53:03 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 67.9069ms [2025-09-12 09:53:03 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-09-12 09:53:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 68.4912ms [2025-09-12 09:53:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-12 09:53:07 INF] CORS policy execution successful. [2025-09-12 09:53:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 204 - - 1.2519ms [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=302 - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=302 - - - 204 - - 0.3037ms [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=302 - - [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2916ms [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=302 - - - 204 - - 0.2221ms [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=302 - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=302 - - - 204 - - 0.1729ms [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=302 - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=302 - - - 204 - - 0.2298ms [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=302 - - [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - - 204 - - 0.1649ms [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=302 - - - 204 - - 0.3580ms [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=302 - - [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=302 - - - 204 - - 0.3011ms [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 204 - - 0.3134ms [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2427ms [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.2656ms [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2878ms [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 09:53:08 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-12 09:53:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:53:08 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:53:08 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-12 09:53:08 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-12 09:53:08 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 15.5949ms [2025-09-12 09:53:08 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 200 - application/json;+charset=utf-8 16.1846ms [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=302 - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-12 09:53:08 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-12 09:53:08 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-12 09:53:08 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-12 09:53:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:53:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=302 - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-12 09:53:08 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-12 09:53:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=302 - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-12 09:53:08 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-12 09:53:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-12 09:53:08 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-12 09:53:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:53:08 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-12 09:53:08 INF] Executed DbCommand (9ms) [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-12 09:53:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=302 - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-12 09:53:08 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-12 09:53:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:53:08 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-12 09:53:08 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-12 09:53:08 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-12 09:53:08 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-12 09:53:08 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-12 09:53:08 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-12 09:53:08 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 70.4566ms [2025-09-12 09:53:08 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 70.8066ms [2025-09-12 09:53:08 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-12 09:53:08 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-12 09:53:08 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-12 09:53:08 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 91.752ms [2025-09-12 09:53:08 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 92.8085ms [2025-09-12 09:53:08 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-09-12 09:53:08 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-12 09:53:08 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 78.3169ms [2025-09-12 09:53:08 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 78.8188ms [2025-09-12 09:53:08 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:53:08 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-12 09:53:08 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-12 09:53:08 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 62.4128ms [2025-09-12 09:53:08 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 62.9574ms [2025-09-12 09:53:08 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-12 09:53:08 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-12 09:53:08 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 114.5191ms [2025-09-12 09:53:08 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=302 - - - 200 - application/json;+charset=utf-8 115.0524ms [2025-09-12 09:53:08 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 118.6502ms [2025-09-12 09:53:08 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 119.0103ms [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=302 - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-12 09:53:08 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-12 09:53:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:53:08 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:53:08 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-12 09:53:08 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-12 09:53:08 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 16.3391ms [2025-09-12 09:53:08 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 16.8327ms [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=302 - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-12 09:53:08 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-12 09:53:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:53:08 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:53:08 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-12 09:53:08 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-12 09:53:08 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 15.0612ms [2025-09-12 09:53:08 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=302 - - - 200 - application/json;+charset=utf-8 15.4379ms [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-12 09:53:08 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-12 09:53:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:53:08 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-12 09:53:08 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-09-12 09:53:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:53:08 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 09:53:08 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-12 09:53:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:53:08 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:53:08 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-12 09:53:08 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-12 09:53:08 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 44.3621ms [2025-09-12 09:53:08 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 44.8180ms [2025-09-12 09:53:08 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", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-09-12 09:53:08 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-09-12 09:53:08 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 33.4268ms [2025-09-12 09:53:08 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 33.9385ms [2025-09-12 09:53:08 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-12 09:53:08 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-12 09:53:08 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 25.9005ms [2025-09-12 09:53:08 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 26.3275ms [2025-09-12 09:53:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - [2025-09-12 09:53:08 INF] CORS policy execution successful. [2025-09-12 09:53:08 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 09:53:08 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-09-12 09:53:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:53:08 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-09-12 09:53:08 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-12 09:53:08 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-09-12 09:53:08 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 14.0811ms [2025-09-12 09:53:08 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-09-12 09:53:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=302 - - - 200 - application/json;+charset=utf-8 14.4779ms [2025-09-12 09:53:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=256 - - [2025-09-12 09:53:11 INF] CORS policy execution successful. [2025-09-12 09:53:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=256 - - - 204 - - 0.2197ms [2025-09-12 09:53:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=256 - - [2025-09-12 09:53:11 INF] CORS policy execution successful. [2025-09-12 09:53:11 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-12 09:53:11 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-12 09:53:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-09-12 09:53: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-12 09:53:11 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-09-12 09:53:11 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-09-12 09:53:11 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 30.8155ms [2025-09-12 09:53:11 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-09-12 09:53:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=256 - - - 200 - application/json;+charset=utf-8 31.3411ms [2025-09-12 09:53:12 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=bednarska27_1_389_umowa_najmu_01102024.pdf&id=256 - - [2025-09-12 09:53:12 INF] CORS policy execution successful. [2025-09-12 09:53:12 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=bednarska27_1_389_umowa_najmu_01102024.pdf&id=256 - - - 204 - - 0.2306ms [2025-09-12 09:53:13 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=bednarska27_1_389_umowa_najmu_01102024.pdf&id=256 - - [2025-09-12 09:53:13 INF] CORS policy execution successful. [2025-09-12 09:53:13 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 09:53:13 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-12 09:53:13 INF] Executing FileContentResult, sending file with download name '' ... [2025-09-12 09:53:13 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 186.3985ms [2025-09-12 09:53:13 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-09-12 09:53:13 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=bednarska27_1_389_umowa_najmu_01102024.pdf&id=256 - - - 200 9986581 application/pdf 188.2741ms [2025-09-12 10:52:45 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 10:52:45 INF] CORS policy execution successful. [2025-09-12 10:52:45 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.3309ms [2025-09-12 11:43:44 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 11:43:44 INF] CORS policy execution successful. [2025-09-12 11:43:44 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2322ms [2025-09-12 11:47:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 11:47:04 INF] CORS policy execution successful. [2025-09-12 11:47:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2104ms [2025-09-12 11:48:41 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 11:48:41 INF] CORS policy execution successful. [2025-09-12 11:48:41 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2549ms [2025-09-12 13:21:58 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 13:21:58 INF] CORS policy execution successful. [2025-09-12 13:21:58 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2681ms [2025-09-12 13:45:01 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-09-12 13:45:01 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 0.2375ms [2025-09-12 14:18:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-09-12 14:18:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.1803ms [2025-09-12 14:18:35 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-09-12 14:18:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.1999ms [2025-09-12 14:56:02 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 14:56:02 INF] CORS policy execution successful. [2025-09-12 14:56:02 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2812ms [2025-09-12 16:17:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-09-12 16:17:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.5600ms [2025-09-12 16:17:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-09-12 16:17:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.2061ms [2025-09-12 20:54:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-12 20:54:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-12 20:54:26 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-12 20:54:26 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-12 20:54:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 2.8933ms [2025-09-12 20:54:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 6.6879ms [2025-09-12 20:54:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-12 20:54:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-12 20:54:26 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-12 20:54:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 7.3222ms [2025-09-12 20:54:26 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-12 20:54:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 8.4051ms [2025-09-12 21:56:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-09-12 21:56:31 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-09-12 21:56:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.4387ms [2025-09-12 21:56:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-09-12 21:56:31 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-09-12 21:56:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.3262ms [2025-09-12 21:56:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-09-12 21:56:31 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-09-12 21:56:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.2995ms [2025-09-12 21:56:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-09-12 21:56:31 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-09-12 21:56:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.3221ms [2025-09-12 22:33:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-09-12 22:33:07 INF] CORS policy execution successful. [2025-09-12 22:33:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.1974ms