[2025-11-18 01:14:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-11-18 01:14:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 3.3735ms [2025-11-18 01:14:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-11-18 01:14:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.2127ms [2025-11-18 04:09:37 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/favicon.ico - - [2025-11-18 04:09:37 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/favicon.ico - - - 404 0 - 0.2006ms [2025-11-18 04:12:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-11-18 04:12:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.1903ms [2025-11-18 05:27:50 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/robots.txt - - [2025-11-18 05:27:50 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/robots.txt - - - 404 0 - 0.2010ms [2025-11-18 05:27:50 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-11-18 05:27:50 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 0.1445ms [2025-11-18 07:32:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=245 - - [2025-11-18 07:32:38 INF] CORS policy execution successful. [2025-11-18 07:32:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=245 - - - 204 - - 0.1916ms [2025-11-18 07:32:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=245 - - [2025-11-18 07:32:38 INF] CORS policy execution successful. [2025-11-18 07:32:38 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-11-18 07:32: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-11-18 07:32:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 07:32: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-11-18 07:32:38 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 07:32:38 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-11-18 07:32:38 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 37.3767ms [2025-11-18 07:32:38 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-11-18 07:32:38 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=245 - - - 200 - application/json;+charset=utf-8 38.7579ms [2025-11-18 07:32:40 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Kolodziejczyk%20umowa%20najem%20Pulawska_final_13112023_signed.pdf&id=245 - - [2025-11-18 07:32:40 INF] CORS policy execution successful. [2025-11-18 07:32:40 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Kolodziejczyk%20umowa%20najem%20Pulawska_final_13112023_signed.pdf&id=245 - - - 204 - - 0.2312ms [2025-11-18 07:32:40 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Kolodziejczyk%20umowa%20najem%20Pulawska_final_13112023_signed.pdf&id=245 - - [2025-11-18 07:32:40 INF] CORS policy execution successful. [2025-11-18 07:32:40 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-11-18 07:32: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-11-18 07:32:40 INF] Executing FileContentResult, sending file with download name '' ... [2025-11-18 07:32:40 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 2.8952ms [2025-11-18 07:32:40 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-11-18 07:32:40 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Kolodziejczyk%20umowa%20najem%20Pulawska_final_13112023_signed.pdf&id=245 - - - 200 359799 application/pdf 3.3822ms [2025-11-18 07:53:51 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - [2025-11-18 07:53:51 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/ - - - 404 0 - 0.1707ms [2025-11-18 08:25:41 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-11-18 08:25:41 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 0.1965ms [2025-11-18 09:47:36 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-11-18 09:47:36 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 1.1683ms [2025-11-18 10:31:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 10:31:17 INF] CORS policy execution successful. [2025-11-18 10:31:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.1731ms [2025-11-18 10:31:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 10:31:17 INF] CORS policy execution successful. [2025-11-18 10:31:17 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 10:31:17 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 10:31:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 10:31: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-11-18 10:31:17 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-11-18 10:31:17 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-11-18 10:31:17 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 10:31:17 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 62.0284ms [2025-11-18 10:31:17 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 10:31:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 64.0968ms [2025-11-18 12:31:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-11-18 12:31:03 INF] CORS policy execution successful. [2025-11-18 12:31:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2718ms [2025-11-18 12:31:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-11-18 12:31:03 INF] CORS policy execution successful. [2025-11-18 12:31:03 INF] Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '11/18/2025 7:20:53 AM', Current time (UTC): '11/18/2025 12:31:03 PM'. at Microsoft.IdentityModel.Tokens.ValidatorUtilities.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters, BaseConfiguration configuration) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateJWS(String token, TokenValidationParameters validationParameters, BaseConfiguration currentConfiguration, SecurityToken& signatureValidatedToken, ExceptionDispatchInfo& exceptionThrown) --- End of stack trace from previous location --- at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, JwtSecurityToken outerToken, TokenValidationParameters validationParameters, SecurityToken& signatureValidatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() [2025-11-18 12:31:03 INF] Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '11/18/2025 7:20:53 AM', Current time (UTC): '11/18/2025 12:31:03 PM'. [2025-11-18 12:31:03 INF] Authorization failed. These requirements were not met: DenyAnonymousAuthorizationRequirement: Requires an authenticated user. [2025-11-18 12:31:03 INF] AuthenticationScheme: Bearer was challenged. [2025-11-18 12:31:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 401 0 - 14.1596ms [2025-11-18 12:31:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/guest/loginemail - - [2025-11-18 12:31:07 INF] CORS policy execution successful. [2025-11-18 12:31:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/guest/loginemail - - - 204 - - 0.2813ms [2025-11-18 12:31:07 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/guest/loginemail application/json 60 [2025-11-18 12:31:07 INF] CORS policy execution successful. [2025-11-18 12:31:07 INF] Executing endpoint 'Web.Controllers.API.GuestController.LoginEmail (Web)' [2025-11-18 12:31:07 INF] Route matched with {action = "LoginEmail", controller = "Guest"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] LoginEmail(Web.Models.API.Guest.LoginEmailVM) on controller Web.Controllers.API.GuestController (Web). [2025-11-18 12:31:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 12:31:07 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 12:31:07 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position", l."AccountNumber", l."Balance", l."Comment", t."Comment", CASE WHEN (t."Id" IS NOT NULL) THEN 'Tenant' WHEN (l."Id" IS NOT NULL) THEN 'Landlord' WHEN (e."Id" IS NOT NULL) THEN 'Employee' END AS "Discriminator" FROM "Users" AS u LEFT JOIN "Employees" AS e ON u."Id" = e."Id" LEFT JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-11-18 12:31:07 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position", l."AccountNumber", l."Balance", l."Comment", t."Comment", CASE WHEN (t."Id" IS NOT NULL) THEN 'Tenant' WHEN (l."Id" IS NOT NULL) THEN 'Landlord' WHEN (e."Id" IS NOT NULL) THEN 'Employee' END AS "Discriminator" FROM "Users" AS u LEFT JOIN "Employees" AS e ON u."Id" = e."Id" LEFT JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN "Tenants" AS t ON u."Id" = t."Id" WHERE u."Id" = @__p_0 LIMIT 1 [2025-11-18 12:31:07 INF] Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int32), @p0='?', @p1='?', @p15='?' (DbType = Int32), @p3='?' (DbType = DateTime), @p4='?', @p5='?' (DbType = DateTime), @p6='?', @p7='?', @p8='?', @p9='?', @p10='?', @p11='?' (DbType = Int32), @p12='?', @p13='?' (DbType = Int32), @p14='?' (DbType = DateTime)], CommandType='"Text"', CommandTimeout='30'] UPDATE "Employees" SET "Comment" = @p0, "Position" = @p1 WHERE "Id" = @p2; UPDATE "Users" SET "CreateTime" = @p3, "Email" = @p4, "ExpiresAt" = @p5, "FirstName" = @p6, "LastName" = @p7, "PasswordHash" = @p8, "PhoneNumber" = @p9, "RefreshToken" = @p10, "Role" = @p11, "Salt" = @p12, "Status" = @p13, "UpdateTime" = @p14 WHERE "Id" = @p15; [2025-11-18 12:31:07 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Guest.TokenVM'. [2025-11-18 12:31:07 INF] Executed action Web.Controllers.API.GuestController.LoginEmail (Web) in 38.3631ms [2025-11-18 12:31:07 INF] Executed endpoint 'Web.Controllers.API.GuestController.LoginEmail (Web)' [2025-11-18 12:31:07 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/guest/loginemail application/json 60 - 200 - application/json;+charset=utf-8 38.7785ms [2025-11-18 12:31:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 12:31:07 INF] CORS policy execution successful. [2025-11-18 12:31:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2056ms [2025-11-18 12:31:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 12:31:07 INF] CORS policy execution successful. [2025-11-18 12:31:07 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 12:31:07 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 12:31:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 12:31:07 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 12:31: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-11-18 12:31:07 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 12:31:07 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 12:31:07 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 55.7961ms [2025-11-18 12:31:07 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 12:31:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 56.3591ms [2025-11-18 12:35:27 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/robots.txt - - [2025-11-18 12:35:27 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/robots.txt - - - 404 0 - 0.2111ms [2025-11-18 13:23:37 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/robots.txt - - [2025-11-18 13:23:37 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/robots.txt - - - 404 0 - 0.2127ms [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.2119ms [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0576ms [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - - 204 - - 0.1731ms [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0841ms [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - - 204 - - 0.2150ms [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - - 204 - - 0.1642ms [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 204 - - 0.2567ms [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - - 204 - - 0.1377ms [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 204 - - 0.1251ms [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - - 204 - - 0.3013ms [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - - 204 - - 0.1571ms [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1885ms [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - - 204 - - 0.2552ms [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-11-18 13:42:30 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-11-18 13:42:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-11-18 13:42:30 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-11-18 13:42:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-11-18 13:42:30 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-11-18 13:42:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-11-18 13:42:30 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-11-18 13:42:30 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-11-18 13:42:30 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-11-18 13:42:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 13:42:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 13:42:30 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 13:42:30 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-11-18 13:42:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 13:42:30 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 33.987ms [2025-11-18 13:42:30 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 34.6835ms [2025-11-18 13:42:30 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-11-18 13:42:30 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-11-18 13:42:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 13:42:30 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-11-18 13:42:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 13:42:30 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 61.4941ms [2025-11-18 13:42:30 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 62.2298ms [2025-11-18 13:42:30 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 13:42:30 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-11-18 13:42:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 13:42:30 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 61.7602ms [2025-11-18 13:42:30 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 62.2494ms [2025-11-18 13:42:30 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 13:42:30 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-11-18 13:42:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 13:42:30 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 76.1549ms [2025-11-18 13:42:30 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 78.2365ms [2025-11-18 13:42:30 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 13:42:30 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 13:42:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-11-18 13:42:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 13:42:30 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 78.0023ms [2025-11-18 13:42:30 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 78.7381ms [2025-11-18 13:42:30 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 13:42:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 13:42:30 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 59.722ms [2025-11-18 13:42:30 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 60.2848ms [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 13:42:30 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-11-18 13:42:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 13:42:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-11-18 13:42:30 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-11-18 13:42:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 13:42:30 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 13:42:30 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-11-18 13:42:30 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-11-18 13:42:30 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 13.8846ms [2025-11-18 13:42:30 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 14.4790ms [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-11-18 13:42:30 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-11-18 13:42:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 13:42:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 13:42:30 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-11-18 13:42:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 13:42:30 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 56.5852ms [2025-11-18 13:42:30 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - - 200 - application/json;+charset=utf-8 56.9850ms [2025-11-18 13:42:30 INF] Executed DbCommand (73ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-11-18 13:42:30 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-11-18 13:42:30 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 87.7721ms [2025-11-18 13:42:30 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 200 - application/json;+charset=utf-8 88.4492ms [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-11-18 13:42:30 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-11-18 13:42:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 13:42:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 13:42:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-11-18 13:42:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 13:42:30 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 14.8599ms [2025-11-18 13:42:30 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 15.3020ms [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-11-18 13:42:30 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 13:42:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 13:42:30 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-11-18 13:42:30 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-11-18 13:42:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 13:42:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 13:42:30 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-11-18 13:42:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 13:42:30 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 13.46ms [2025-11-18 13:42:30 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 13.9393ms [2025-11-18 13:42:30 INF] Executed DbCommand (14ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-11-18 13:42:30 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 13:42:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-11-18 13:42:30 INF] CORS policy execution successful. [2025-11-18 13:42:30 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 13:42:30 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-11-18 13:42:30 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 13:42:30 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 13:42:30 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-11-18 13:42:30 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-11-18 13:42:30 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 16.1234ms [2025-11-18 13:42:30 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 200 - application/json;+charset=utf-8 16.5727ms [2025-11-18 13:42:30 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 69.5838ms [2025-11-18 13:42:30 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-11-18 13:42:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 70.1721ms [2025-11-18 13:42:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=310 - - [2025-11-18 13:42:34 INF] CORS policy execution successful. [2025-11-18 13:42:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=310 - - - 204 - - 0.2214ms [2025-11-18 13:42:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=310 - - [2025-11-18 13:42:34 INF] CORS policy execution successful. [2025-11-18 13:42:34 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-11-18 13:42:34 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-11-18 13:42:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 13:42:34 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 13:42:34 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 13:42:34 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-11-18 13:42:34 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 28.6342ms [2025-11-18 13:42:34 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-11-18 13:42:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=310 - - - 200 - application/json;+charset=utf-8 29.1076ms [2025-11-18 13:42:35 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa_Najmu_Kwatery%20g%C5%82%C3%B3wnej%2024%20lok%201_10102024_signed.pdf&id=310 - - [2025-11-18 13:42:35 INF] CORS policy execution successful. [2025-11-18 13:42:35 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa_Najmu_Kwatery%20g%C5%82%C3%B3wnej%2024%20lok%201_10102024_signed.pdf&id=310 - - - 204 - - 1.8738ms [2025-11-18 13:42:35 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa_Najmu_Kwatery%20g%C5%82%C3%B3wnej%2024%20lok%201_10102024_signed.pdf&id=310 - - [2025-11-18 13:42:35 INF] CORS policy execution successful. [2025-11-18 13:42:35 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-11-18 13:42:35 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-11-18 13:42:35 INF] Executing FileContentResult, sending file with download name '' ... [2025-11-18 13:42:35 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 2.4313ms [2025-11-18 13:42:35 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-11-18 13:42:35 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa_Najmu_Kwatery%20g%C5%82%C3%B3wnej%2024%20lok%201_10102024_signed.pdf&id=310 - - - 200 537044 application/pdf 3.0254ms [2025-11-18 13:43:56 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 13:43:56 INF] CORS policy execution successful. [2025-11-18 13:43:56 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2006ms [2025-11-18 13:43:56 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 13:43:56 INF] CORS policy execution successful. [2025-11-18 13:43:56 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 13:43:56 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 13:43:56 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 13:43:56 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 13:43:56 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-11-18 13:43:56 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 13:43:56 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 13:43:56 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 58.5994ms [2025-11-18 13:43:56 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 13:43:56 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 59.2287ms [2025-11-18 13:46:27 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-11-18 13:46:27 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.1736ms [2025-11-18 14:30:43 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-11-18 14:30:43 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 0.2089ms [2025-11-18 14:32:58 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 14:32:58 INF] CORS policy execution successful. [2025-11-18 14:32:58 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2217ms [2025-11-18 14:32:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 14:32:59 INF] CORS policy execution successful. [2025-11-18 14:32:59 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 14:32:59 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 14:32:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:32: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-11-18 14:32: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-11-18 14:32:59 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 14:32:59 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 14:32:59 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 67.4464ms [2025-11-18 14:32:59 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 14:32:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 68.8638ms [2025-11-18 14:33:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-11-18 14:33:54 INF] CORS policy execution successful. [2025-11-18 14:33:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 204 - - 0.2193ms [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - - 204 - - 0.2073ms [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1954ms [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - - 204 - - 0.1962ms [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - - 204 - - 0.2287ms [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - - 204 - - 0.0978ms [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - - 204 - - 0.2029ms [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - - 204 - - 0.1773ms [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - - 204 - - 0.0599ms [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 204 - - 0.2354ms [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1610ms [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.0784ms [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2262ms [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 14:33:55 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-11-18 14:33:55 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-11-18 14:33:55 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-11-18 14:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-11-18 14:33:55 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-11-18 14:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-11-18 14:33:55 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-11-18 14:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - [2025-11-18 14:33:55 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-11-18 14:33:55 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-11-18 14:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-11-18 14:33:55 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-11-18 14:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:33:55 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-11-18 14:33:55 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 14:33:55 INF] Executed DbCommand (4ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-11-18 14:33:55 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-11-18 14:33:55 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 74.5331ms [2025-11-18 14:33:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 14:33:55 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 200 - application/json;+charset=utf-8 82.0833ms [2025-11-18 14:33:55 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-11-18 14:33:55 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 14:33:55 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 59.3715ms [2025-11-18 14:33:55 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 59.8708ms [2025-11-18 14:33:55 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 14:33:55 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 14:33:55 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 14:33:55 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-11-18 14:33:55 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-11-18 14:33:55 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 14:33:55 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 86.9645ms [2025-11-18 14:33:55 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 87.5116ms [2025-11-18 14:33:55 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 14:33:55 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 81.6291ms [2025-11-18 14:33:55 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 82.0619ms [2025-11-18 14:33:55 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-11-18 14:33:55 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 14:33:55 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 101.0873ms [2025-11-18 14:33:55 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 101.9361ms [2025-11-18 14:33:55 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 14:33:55 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 121.1971ms [2025-11-18 14:33:55 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=248 - - - 200 - application/json;+charset=utf-8 121.7407ms [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-11-18 14:33:55 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-11-18 14:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-11-18 14:33:55 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-11-18 14:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:33:55 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 14:33:55 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-11-18 14:33:55 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 14:33:55 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 17.8622ms [2025-11-18 14:33:55 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 18.2711ms [2025-11-18 14:33:55 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 14:33:55 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 14:33:55 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 14:33:55 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 40.4335ms [2025-11-18 14:33:55 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=248 - - - 200 - application/json;+charset=utf-8 40.8319ms [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-11-18 14:33:55 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-11-18 14:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:33:55 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-11-18 14:33:55 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 14:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:33:55 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-11-18 14:33:55 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-11-18 14:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:33:55 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 14:33:55 INF] Executed DbCommand (33ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-11-18 14:33:55 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 14:33:55 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 51.5879ms [2025-11-18 14:33:55 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 52.0595ms [2025-11-18 14:33:55 INF] Executed DbCommand (21ms) [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-11-18 14:33:55 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 14:33:55 INF] Executed DbCommand (30ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-11-18 14:33:55 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 14:33:55 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 56.6653ms [2025-11-18 14:33:55 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 57.1280ms [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 14:33:55 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-11-18 14:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:33:55 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 14:33:55 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-11-18 14:33:55 INF] CORS policy execution successful. [2025-11-18 14:33:55 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-11-18 14:33:55 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-11-18 14:33:55 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:33:55 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 14:33:55 INF] Executed DbCommand (17ms) [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-11-18 14:33:55 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-11-18 14:33:55 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 32.6937ms [2025-11-18 14:33:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=248 - - - 200 - application/json;+charset=utf-8 33.1605ms [2025-11-18 14:33:55 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-11-18 14:33:55 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 14:33:55 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 16.8041ms [2025-11-18 14:33:55 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 17.4424ms [2025-11-18 14:33:55 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 109.7199ms [2025-11-18 14:33:55 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-11-18 14:33:55 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 110.2334ms [2025-11-18 14:34:44 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=89 - - [2025-11-18 14:34:44 INF] CORS policy execution successful. [2025-11-18 14:34:44 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=89 - - - 204 - - 0.2630ms [2025-11-18 14:34:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=89 - - [2025-11-18 14:34:44 INF] CORS policy execution successful. [2025-11-18 14:34:44 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-11-18 14:34:44 INF] Route matched with {action = "GetById", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-11-18 14:34:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:34: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-11-18 14:34:44 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-11-18 14:34:44 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-11-18 14:34:44 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 19.2626ms [2025-11-18 14:34:44 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-11-18 14:34:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=89 - - - 200 - application/json;+charset=utf-8 19.8601ms [2025-11-18 14:34:44 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=89 - - [2025-11-18 14:34:44 INF] CORS policy execution successful. [2025-11-18 14:34:44 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-11-18 14:34:44 INF] Route matched with {action = "GetById", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-11-18 14:34:44 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:34:44 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 14:34:44 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-11-18 14:34:44 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-11-18 14:34:44 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 15.7684ms [2025-11-18 14:34:44 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-11-18 14:34:44 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=89 - - - 200 - application/json;+charset=utf-8 16.2593ms [2025-11-18 14:34:49 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=UMOWA_O%20_ZARZADZANIE_Kwatery%20G%C5%82%C3%B3wnej%2024_1_02012025_signed.pdf&id=89 - - [2025-11-18 14:34:49 INF] CORS policy execution successful. [2025-11-18 14:34:49 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=UMOWA_O%20_ZARZADZANIE_Kwatery%20G%C5%82%C3%B3wnej%2024_1_02012025_signed.pdf&id=89 - - - 204 - - 0.1807ms [2025-11-18 14:34:49 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=UMOWA_O%20_ZARZADZANIE_Kwatery%20G%C5%82%C3%B3wnej%2024_1_02012025_signed.pdf&id=89 - - [2025-11-18 14:34:49 INF] CORS policy execution successful. [2025-11-18 14:34:49 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-11-18 14:34: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-11-18 14:34:49 INF] Executing FileContentResult, sending file with download name '' ... [2025-11-18 14:34:49 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 5.6251ms [2025-11-18 14:34:49 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-11-18 14:34:49 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=UMOWA_O%20_ZARZADZANIE_Kwatery%20G%C5%82%C3%B3wnej%2024_1_02012025_signed.pdf&id=89 - - - 200 904639 application/pdf 6.1268ms [2025-11-18 14:45:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=90 - - [2025-11-18 14:45:17 INF] CORS policy execution successful. [2025-11-18 14:45:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=90 - - - 204 - - 0.2047ms [2025-11-18 14:45:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=90 - - [2025-11-18 14:45:17 INF] CORS policy execution successful. [2025-11-18 14:45:17 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-11-18 14:45:17 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-11-18 14:45:17 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=UMOWA_O%20_ZARZADZANIE_Kwatery%20G%C5%82%C3%B3wnej%2024_1_02012025_signed.pdf&id=89 - - [2025-11-18 14:45:17 INF] CORS policy execution successful. [2025-11-18 14:45:17 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=UMOWA_O%20_ZARZADZANIE_Kwatery%20G%C5%82%C3%B3wnej%2024_1_02012025_signed.pdf&id=89 - - - 204 - - 0.1411ms [2025-11-18 14:45:17 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:45: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-11-18 14:45:17 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-11-18 14:45:17 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-11-18 14:45:17 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 19.055ms [2025-11-18 14:45:17 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-11-18 14:45:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=90 - - - 200 - application/json;+charset=utf-8 19.6234ms [2025-11-18 14:45:17 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=UMOWA_O%20_ZARZADZANIE_Kwatery%20G%C5%82%C3%B3wnej%2024_1_02012025_signed.pdf&id=89 - - [2025-11-18 14:45:17 INF] CORS policy execution successful. [2025-11-18 14:45:17 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-11-18 14:45:17 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-11-18 14:45:17 INF] Executing FileContentResult, sending file with download name '' ... [2025-11-18 14:45:17 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 2.2529ms [2025-11-18 14:45:17 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-11-18 14:45:17 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=UMOWA_O%20_ZARZADZANIE_Kwatery%20G%C5%82%C3%B3wnej%2024_1_02012025_signed.pdf&id=89 - - - 200 904639 application/pdf 2.7243ms [2025-11-18 14:45:28 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=90 - - [2025-11-18 14:45:28 INF] CORS policy execution successful. [2025-11-18 14:45:28 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/getById?flatId=90 - - - 204 - - 2.0788ms [2025-11-18 14:45:28 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=90 - - [2025-11-18 14:45:28 INF] CORS policy execution successful. [2025-11-18 14:45:28 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-11-18 14:45:28 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-11-18 14:45:28 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 14:45:28 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 14:45:28 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-11-18 14:45:28 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Agreements.AgreementVM'. [2025-11-18 14:45:28 INF] Executed action Web.Controllers.API.AgreementController.GetById (Web) in 13.9014ms [2025-11-18 14:45:28 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetById (Web)' [2025-11-18 14:45:28 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/getById?flatId=90 - - - 200 - application/json;+charset=utf-8 14.5430ms [2025-11-18 14:45:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Kwatery%20G%C5%82%C3%B3wnej%2024%20lok%201_Pe%C5%82nomocnictwo_02012025.pdf&id=90 - - [2025-11-18 14:45:30 INF] CORS policy execution successful. [2025-11-18 14:45:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Kwatery%20G%C5%82%C3%B3wnej%2024%20lok%201_Pe%C5%82nomocnictwo_02012025.pdf&id=90 - - - 204 - - 0.2300ms [2025-11-18 14:45:30 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Kwatery%20G%C5%82%C3%B3wnej%2024%20lok%201_Pe%C5%82nomocnictwo_02012025.pdf&id=90 - - [2025-11-18 14:45:30 INF] CORS policy execution successful. [2025-11-18 14:45:30 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-11-18 14:45:30 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-11-18 14:45:30 INF] Executing FileContentResult, sending file with download name '' ... [2025-11-18 14:45:30 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 0.9746ms [2025-11-18 14:45:30 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-11-18 14:45:30 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=agreements&fileName=Kwatery%20G%C5%82%C3%B3wnej%2024%20lok%201_Pe%C5%82nomocnictwo_02012025.pdf&id=90 - - - 200 54203 application/pdf 1.4587ms [2025-11-18 15:17:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/favicon.ico - - [2025-11-18 15:17:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/favicon.ico - - - 404 0 - 0.2167ms [2025-11-18 15:26:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=310 - - [2025-11-18 15:26:11 INF] CORS policy execution successful. [2025-11-18 15:26:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=310 - - - 204 - - 0.1906ms [2025-11-18 15:26:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=310 - - [2025-11-18 15:26:11 INF] CORS policy execution successful. [2025-11-18 15:26:11 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-11-18 15:26: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-11-18 15:26:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:26:11 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:26: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-11-18 15:26:11 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-11-18 15:26:11 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 32.1116ms [2025-11-18 15:26:11 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-11-18 15:26:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=310 - - - 200 - application/json;+charset=utf-8 32.6344ms [2025-11-18 15:26:13 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa_Najmu_Kwatery%20g%C5%82%C3%B3wnej%2024%20lok%201_10102024_signed.pdf&id=310 - - [2025-11-18 15:26:13 INF] CORS policy execution successful. [2025-11-18 15:26:13 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa_Najmu_Kwatery%20g%C5%82%C3%B3wnej%2024%20lok%201_10102024_signed.pdf&id=310 - - - 204 - - 0.2376ms [2025-11-18 15:26:13 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa_Najmu_Kwatery%20g%C5%82%C3%B3wnej%2024%20lok%201_10102024_signed.pdf&id=310 - - [2025-11-18 15:26:13 INF] CORS policy execution successful. [2025-11-18 15:26:13 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-11-18 15:26: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-11-18 15:26:13 INF] Executing FileContentResult, sending file with download name '' ... [2025-11-18 15:26:13 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 7.6713ms [2025-11-18 15:26:13 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-11-18 15:26:13 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa_Najmu_Kwatery%20g%C5%82%C3%B3wnej%2024%20lok%201_10102024_signed.pdf&id=310 - - - 200 537044 application/pdf 8.1589ms [2025-11-18 15:27:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 15:27:46 INF] CORS policy execution successful. [2025-11-18 15:27:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2103ms [2025-11-18 15:27:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 15:27:46 INF] CORS policy execution successful. [2025-11-18 15:27:46 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 15:27:46 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 15:27:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:27: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-11-18 15:27:46 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-11-18 15:27:46 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 15:27:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 15:27:46 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 57.7104ms [2025-11-18 15:27:46 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 15:27:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 58.2429ms [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - - 204 - - 0.2379ms [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=335 - - - 204 - - 0.2228ms [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=335 - - [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=335 - - - 204 - - 0.2066ms [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - - 204 - - 0.2143ms [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=335 - - - 204 - - 0.0978ms [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.2294ms [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=335 - - - 204 - - 0.1045ms [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.4073ms [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - - 204 - - 0.7077ms [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - - 204 - - 0.1401ms [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=335 - - - 204 - - 1.1837ms [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1370ms [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.4982ms [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=335 - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-11-18 15:28:04 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-11-18 15:28:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Executed DbCommand (7ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-11-18 15:28:04 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-11-18 15:28:04 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 41.4338ms [2025-11-18 15:28:04 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - - 200 - application/json;+charset=utf-8 42.1852ms [2025-11-18 15:28:04 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:04 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-11-18 15:28:04 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-11-18 15:28:04 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 40.2311ms [2025-11-18 15:28:04 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 40.7959ms [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-11-18 15:28:04 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:04 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-11-18 15:28:04 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-11-18 15:28:04 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 66.1356ms [2025-11-18 15:28:04 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 66.5024ms [2025-11-18 15:28:04 INF] Executed DbCommand (13ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:04 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-11-18 15:28:04 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 15:28:04 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 86.3706ms [2025-11-18 15:28:04 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 86.6152ms [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 86.7101ms [2025-11-18 15:28:04 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 86.9438ms [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 110.7112ms [2025-11-18 15:28:04 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=335 - - - 200 - application/json;+charset=utf-8 111.1875ms [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:04 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:04 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:04 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-11-18 15:28:04 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-11-18 15:28:04 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 15.0465ms [2025-11-18 15:28:04 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 15.4399ms [2025-11-18 15:28:04 INF] Executed DbCommand (16ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:04 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:04 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-11-18 15:28:04 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-11-18 15:28:04 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 25.8579ms [2025-11-18 15:28:04 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 26.2526ms [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:04 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:04 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-11-18 15:28:04 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-11-18 15:28:04 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 12.1829ms [2025-11-18 15:28:04 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 12.5239ms [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:04 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:04 INF] Executed DbCommand (51ms) [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-11-18 15:28:04 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-11-18 15:28:04 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 73.0828ms [2025-11-18 15:28:04 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 73.4686ms [2025-11-18 15:28:04 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 23.6221ms [2025-11-18 15:28:04 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 23.9876ms [2025-11-18 15:28:04 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 135.3088ms [2025-11-18 15:28:04 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 135.7393ms [2025-11-18 15:28:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - [2025-11-18 15:28:04 INF] CORS policy execution successful. [2025-11-18 15:28:04 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:04 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:04 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-11-18 15:28:04 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-11-18 15:28:04 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 15.0966ms [2025-11-18 15:28:04 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 15:28:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - - 200 - application/json;+charset=utf-8 15.6059ms [2025-11-18 15:28:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getById?id=299 - - [2025-11-18 15:28:11 INF] CORS policy execution successful. [2025-11-18 15:28:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getById?id=299 - - - 204 - - 0.2266ms [2025-11-18 15:28:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByLandlordId?landlordId=299 - - [2025-11-18 15:28:11 INF] CORS policy execution successful. [2025-11-18 15:28:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByLandlordId?landlordId=299 - - - 204 - - 0.1061ms [2025-11-18 15:28:11 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContractByLandlordId?landlordId=299 - - [2025-11-18 15:28:11 INF] CORS policy execution successful. [2025-11-18 15:28:11 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContractByLandlordId?landlordId=299 - - - 204 - - 0.0894ms [2025-11-18 15:28:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getById?id=299 - - [2025-11-18 15:28:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContractByLandlordId?landlordId=299 - - [2025-11-18 15:28:11 INF] CORS policy execution successful. [2025-11-18 15:28:11 INF] CORS policy execution successful. [2025-11-18 15:28:11 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetByID (Web)' [2025-11-18 15:28:11 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContractByLandlordId (Web)' [2025-11-18 15:28:11 INF] Route matched with {action = "GetByID", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetByID(Int32) on controller Web.Controllers.API.LandlordController (Web). [2025-11-18 15:28:11 INF] Route matched with {action = "GetAllWithActualContractByLandlordId", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContractByLandlordId(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-11-18 15:28:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:11 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByLandlordId?landlordId=299 - - [2025-11-18 15:28:11 INF] CORS policy execution successful. [2025-11-18 15:28:11 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByLandlordId (Web)' [2025-11-18 15:28:11 INF] Route matched with {action = "GetAllByLandlordId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByLandlordId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-11-18 15:28:11 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:11 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:11 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:11 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" [2025-11-18 15:28:11 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Landlords.LandlordVM'. [2025-11-18 15:28:11 INF] Executed action Web.Controllers.API.LandlordController.GetByID (Web) in 22.7199ms [2025-11-18 15:28:11 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetByID (Web)' [2025-11-18 15:28:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getById?id=299 - - - 200 - application/json;+charset=utf-8 23.1913ms [2025-11-18 15:28:11 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-11-18 15:28:11 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:11 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type", t1."Id", t1."CreateTime", t1."EmployeeId", t1."EndDate", t1."FlatId", t1."HGMTFee", t1."RentPrice", t1."StartDate", t1."Status", t1."TenantId", t1."Id0", t1."CreateTime0", t1."Email", t1."ExpiresAt", t1."FirstName", t1."LastName", t1."PasswordHash", t1."PhoneNumber", t1."RefreshToken", t1."Role", t1."Salt", t1."Status0", t1."UpdateTime", t1."Comment", e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title", i."Id", i."CreateTime", i."EmployeeId", i."FlatId", m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value", e0."Id", e0."AccountNumber", e0."Comment", e0."CreateTime", e0."FlatId", e0."StartDate", e0."Status", e0."Type", e0."UpdateTime", e0."Value", i0."Id", i0."Comment", i0."CreateTime", i0."Description", i0."EndTime", i0."FlatId", i0."Status", i0."Title", i0."Value" FROM "Flats" AS f LEFT JOIN "Agreements" AS a ON f."Id" = a."FlatId" LEFT JOIN ( SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", t0."Id" AS "Id0", t0."CreateTime" AS "CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status" AS "Status0", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" ) AS t0 ON r."TenantId" = t0."Id" ) AS t1 ON f."Id" = t1."FlatId" LEFT JOIN "Equipments" AS e ON f."Id" = e."FlatId" LEFT JOIN "Inspections" AS i ON f."Id" = i."FlatId" LEFT JOIN "Meters" AS m ON f."Id" = m."FlatId" LEFT JOIN "Expenses" AS e0 ON f."Id" = e0."FlatId" LEFT JOIN "Invoices" AS i0 ON f."Id" = i0."FlatId" ORDER BY f."Id", a."Id", t1."Id", t1."Id0", e."Id", i."Id", m."Id", e0."Id" [2025-11-18 15:28:11 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-11-18 15:28:11 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContractByLandlordId (Web) in 52.7888ms [2025-11-18 15:28:11 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContractByLandlordId (Web)' [2025-11-18 15:28:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContractByLandlordId?landlordId=299 - - - 200 - application/json;+charset=utf-8 53.3445ms [2025-11-18 15:28:11 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 15:28:11 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByLandlordId (Web) in 141.5369ms [2025-11-18 15:28:11 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByLandlordId (Web)' [2025-11-18 15:28:11 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByLandlordId?landlordId=299 - - - 200 - application/json;+charset=utf-8 142.0327ms [2025-11-18 15:28:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=336 - - [2025-11-18 15:28:19 INF] CORS policy execution successful. [2025-11-18 15:28:19 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=336 - - - 204 - - 0.2108ms [2025-11-18 15:28:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-11-18 15:28:19 INF] CORS policy execution successful. [2025-11-18 15:28:19 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.0790ms [2025-11-18 15:28:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=336 - - [2025-11-18 15:28:19 INF] CORS policy execution successful. [2025-11-18 15:28:19 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=336 - - - 204 - - 0.1087ms [2025-11-18 15:28:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=336 - - [2025-11-18 15:28:19 INF] CORS policy execution successful. [2025-11-18 15:28:19 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=336 - - - 204 - - 0.3388ms [2025-11-18 15:28:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=336 - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=336 - - - 204 - - 0.0806ms [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=336 - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=336 - - - 204 - - 0.0681ms [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=336 - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=336 - - - 204 - - 0.0704ms [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=336 - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=336 - - - 204 - - 0.7747ms [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=336 - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=336 - - - 204 - - 0.0989ms [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=336 - - [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1852ms [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0844ms [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=336 - - - 204 - - 0.8280ms [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=336 - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.1901ms [2025-11-18 15:28:20 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-11-18 15:28:20 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-11-18 15:28:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=336 - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 15:28:20 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-11-18 15:28:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:20 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:20 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-11-18 15:28:20 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 20.7438ms [2025-11-18 15:28:20 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=336 - - - 200 - application/json;+charset=utf-8 21.0949ms [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-11-18 15:28:20 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=336 - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-11-18 15:28:20 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-11-18 15:28:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=336 - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=336 - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=336 - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:20 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:20 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 32.8382ms [2025-11-18 15:28:20 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=336 - - - 200 - application/json;+charset=utf-8 33.2229ms [2025-11-18 15:28:20 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-11-18 15:28:20 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-11-18 15:28:20 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:20 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:20 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 47.1361ms [2025-11-18 15:28:20 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=336 - - - 200 - application/json;+charset=utf-8 47.4019ms [2025-11-18 15:28:20 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 37.2434ms [2025-11-18 15:28:20 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=336 - - - 200 - application/json;+charset=utf-8 44.1741ms [2025-11-18 15:28:20 INF] Executed DbCommand (6ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 41.8101ms [2025-11-18 15:28:20 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=336 - - - 200 - application/json;+charset=utf-8 42.2006ms [2025-11-18 15:28:20 INF] Executed DbCommand (8ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-11-18 15:28:20 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 15:28:20 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 115.6891ms [2025-11-18 15:28:20 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=336 - - - 200 - application/json;+charset=utf-8 116.1713ms [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 74.4041ms [2025-11-18 15:28:20 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 74.9830ms [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=336 - - [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=336 - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-11-18 15:28:20 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-11-18 15:28:20 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-11-18 15:28:20 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-11-18 15:28:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-11-18 15:28:20 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-11-18 15:28:20 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:20 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:20 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" [2025-11-18 15:28:20 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-11-18 15:28:20 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-11-18 15:28:20 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 38.2678ms [2025-11-18 15:28:20 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 38.8114ms [2025-11-18 15:28:20 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 15:28:20 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 41.1636ms [2025-11-18 15:28:20 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 41.5657ms [2025-11-18 15:28:20 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:20 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-11-18 15:28:20 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-11-18 15:28:20 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-11-18 15:28:20 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 52.0337ms [2025-11-18 15:28:20 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=336 - - - 200 - application/json;+charset=utf-8 52.7307ms [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 48.9063ms [2025-11-18 15:28:20 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 49.4494ms [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 65.3285ms [2025-11-18 15:28:20 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=336 - - - 200 - application/json;+charset=utf-8 66.0252ms [2025-11-18 15:28:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=336 - - [2025-11-18 15:28:20 INF] CORS policy execution successful. [2025-11-18 15:28:20 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 15:28:20 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-11-18 15:28:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:20 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:20 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-11-18 15:28:20 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-11-18 15:28:20 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 14.6799ms [2025-11-18 15:28:20 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 15:28:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=336 - - - 200 - application/json;+charset=utf-8 15.1557ms [2025-11-18 15:28:27 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 15:28:27 INF] CORS policy execution successful. [2025-11-18 15:28:27 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2106ms [2025-11-18 15:28:27 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 15:28:27 INF] CORS policy execution successful. [2025-11-18 15:28:27 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 15:28: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-11-18 15:28:27 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28: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-11-18 15:28: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-11-18 15:28:27 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-11-18 15:28: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-11-18 15:28:27 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 67.3201ms [2025-11-18 15:28:27 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 15:28:27 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 67.8614ms [2025-11-18 15:28:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=335 - - [2025-11-18 15:28:30 INF] CORS policy execution successful. [2025-11-18 15:28:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - [2025-11-18 15:28:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=335 - - - 204 - - 0.2093ms [2025-11-18 15:28:30 INF] CORS policy execution successful. [2025-11-18 15:28:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - - 204 - - 0.2345ms [2025-11-18 15:28:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-11-18 15:28:30 INF] CORS policy execution successful. [2025-11-18 15:28:30 INF] CORS policy execution successful. [2025-11-18 15:28:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1804ms [2025-11-18 15:28:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=335 - - - 204 - - 0.1803ms [2025-11-18 15:28:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:30 INF] CORS policy execution successful. [2025-11-18 15:28:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - - 204 - - 0.1826ms [2025-11-18 15:28:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:30 INF] CORS policy execution successful. [2025-11-18 15:28:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=335 - - - 204 - - 0.1108ms [2025-11-18 15:28:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:30 INF] CORS policy execution successful. [2025-11-18 15:28:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=335 - - - 204 - - 0.0988ms [2025-11-18 15:28:30 INF] CORS policy execution successful. [2025-11-18 15:28:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - - 204 - - 1.1565ms [2025-11-18 15:28:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - [2025-11-18 15:28:30 INF] CORS policy execution successful. [2025-11-18 15:28:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - - 204 - - 0.1745ms [2025-11-18 15:28:30 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:30 INF] CORS policy execution successful. [2025-11-18 15:28:30 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=335 - - - 204 - - 0.2910ms [2025-11-18 15:28:31 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-11-18 15:28:31 INF] CORS policy execution successful. [2025-11-18 15:28:31 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.1824ms [2025-11-18 15:28:31 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-11-18 15:28:31 INF] CORS policy execution successful. [2025-11-18 15:28:31 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.0768ms [2025-11-18 15:28:31 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-11-18 15:28:31 INF] CORS policy execution successful. [2025-11-18 15:28:31 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.0915ms [2025-11-18 15:28:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=335 - - [2025-11-18 15:28:31 INF] CORS policy execution successful. [2025-11-18 15:28:31 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - [2025-11-18 15:28:31 INF] CORS policy execution successful. [2025-11-18 15:28:31 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:31 INF] CORS policy execution successful. [2025-11-18 15:28:31 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:31 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:31 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:31 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-11-18 15:28:31 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 27.0454ms [2025-11-18 15:28:31 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 15:28:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - - 200 - application/json;+charset=utf-8 27.5068ms [2025-11-18 15:28:31 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:31 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-11-18 15:28:31 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-11-18 15:28:31 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 34.4049ms [2025-11-18 15:28:31 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-11-18 15:28:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 35.0123ms [2025-11-18 15:28:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:31 INF] CORS policy execution successful. [2025-11-18 15:28:31 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-11-18 15:28:31 INF] CORS policy execution successful. [2025-11-18 15:28:31 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:31 INF] CORS policy execution successful. [2025-11-18 15:28:31 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-11-18 15:28:31 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-11-18 15:28:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:31 INF] CORS policy execution successful. [2025-11-18 15:28:31 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:31 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 29.3348ms [2025-11-18 15:28:31 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-11-18 15:28:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 29.6689ms [2025-11-18 15:28:31 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-11-18 15:28:31 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-11-18 15:28:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:31 INF] CORS policy execution successful. [2025-11-18 15:28:31 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Executed DbCommand (9ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 15:28:31 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=335 - - [2025-11-18 15:28:31 INF] CORS policy execution successful. [2025-11-18 15:28:31 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-11-18 15:28:31 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-11-18 15:28:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:31 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 131.7114ms [2025-11-18 15:28:31 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-11-18 15:28:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=335 - - - 200 - application/json;+charset=utf-8 132.0621ms [2025-11-18 15:28:31 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 84.0113ms [2025-11-18 15:28:31 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-11-18 15:28:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 84.4821ms [2025-11-18 15:28:31 INF] Executed DbCommand (10ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 61.0242ms [2025-11-18 15:28:31 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-11-18 15:28:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 61.4098ms [2025-11-18 15:28:31 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-11-18 15:28:31 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-11-18 15:28:31 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-11-18 15:28:31 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 48.2548ms [2025-11-18 15:28:31 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-11-18 15:28:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 48.7024ms [2025-11-18 15:28:31 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:31 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-11-18 15:28:31 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 15:28:31 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 17.4636ms [2025-11-18 15:28:31 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-11-18 15:28:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=335 - - - 200 - application/json;+charset=utf-8 18.0872ms [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 111.6731ms [2025-11-18 15:28:31 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-11-18 15:28:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 113.1089ms [2025-11-18 15:28:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-11-18 15:28:31 INF] CORS policy execution successful. [2025-11-18 15:28:31 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-11-18 15:28:31 INF] CORS policy execution successful. [2025-11-18 15:28:31 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:31 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-11-18 15:28:31 INF] CORS policy execution successful. [2025-11-18 15:28:31 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:31 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:31 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-11-18 15:28:31 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-11-18 15:28:31 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 22.0717ms [2025-11-18 15:28:31 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-11-18 15:28:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 22.5758ms [2025-11-18 15:28:31 INF] Executed DbCommand (11ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 34.3292ms [2025-11-18 15:28:31 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-11-18 15:28:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 34.8347ms [2025-11-18 15:28:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - [2025-11-18 15:28:31 INF] CORS policy execution successful. [2025-11-18 15:28:31 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:28:31 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:31 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-11-18 15:28:31 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-11-18 15:28:31 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 23.5136ms [2025-11-18 15:28:31 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-11-18 15:28:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 23.9263ms [2025-11-18 15:28:31 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 15:28:31 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-11-18 15:28:31 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-11-18 15:28:31 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 16.2485ms [2025-11-18 15:28:31 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 15:28:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=335 - - - 200 - application/json;+charset=utf-8 16.6017ms [2025-11-18 15:29:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=286 - - [2025-11-18 15:29:03 INF] CORS policy execution successful. [2025-11-18 15:29:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=286 - - - 204 - - 0.1965ms [2025-11-18 15:29:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=286 - - [2025-11-18 15:29:03 INF] CORS policy execution successful. [2025-11-18 15:29:03 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-11-18 15:29:03 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-11-18 15:29:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:29: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-11-18 15:29:03 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 15:29:03 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-11-18 15:29:03 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 30.25ms [2025-11-18 15:29:03 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-11-18 15:29:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=286 - - - 200 - application/json;+charset=utf-8 30.7029ms [2025-11-18 15:29:04 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa_Najmu_Cio%C5%82ka%2025_92_17042024_signed.pdf&id=286 - - [2025-11-18 15:29:04 INF] CORS policy execution successful. [2025-11-18 15:29:04 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa_Najmu_Cio%C5%82ka%2025_92_17042024_signed.pdf&id=286 - - - 204 - - 0.2360ms [2025-11-18 15:29:04 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa_Najmu_Cio%C5%82ka%2025_92_17042024_signed.pdf&id=286 - - [2025-11-18 15:29:04 INF] CORS policy execution successful. [2025-11-18 15:29:04 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-11-18 15:29:04 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-11-18 15:29:04 INF] Executing FileContentResult, sending file with download name '' ... [2025-11-18 15:29:04 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 6.4631ms [2025-11-18 15:29:04 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-11-18 15:29:04 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa_Najmu_Cio%C5%82ka%2025_92_17042024_signed.pdf&id=286 - - - 200 601877 application/pdf 7.0170ms [2025-11-18 15:29:31 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=286 - - [2025-11-18 15:29:31 INF] CORS policy execution successful. [2025-11-18 15:29:31 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=286 - - - 204 - - 0.1983ms [2025-11-18 15:29:31 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=286 - - [2025-11-18 15:29:31 INF] CORS policy execution successful. [2025-11-18 15:29:31 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-11-18 15:29:31 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-11-18 15:29:31 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 15:29:31 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-11-18 15:29:31 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 15:29:31 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-11-18 15:29:31 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 27.509ms [2025-11-18 15:29:31 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-11-18 15:29:31 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=286 - - - 200 - application/json;+charset=utf-8 27.9842ms [2025-11-18 16:28:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-11-18 16:28:05 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-11-18 16:28:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.2920ms [2025-11-18 16:28:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-11-18 16:28:05 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-11-18 16:28:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.2186ms [2025-11-18 16:28:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-11-18 16:28:05 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-11-18 16:28:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.2060ms [2025-11-18 16:28:05 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-11-18 16:28:05 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-11-18 16:28:05 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.1242ms [2025-11-18 17:05:45 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/favicon.ico - - [2025-11-18 17:05:45 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/favicon.ico - - - 404 0 - 0.2179ms [2025-11-18 17:12:33 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-11-18 17:12:33 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.1933ms [2025-11-18 17:20:39 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 17:20:39 INF] CORS policy execution successful. [2025-11-18 17:20:39 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2690ms [2025-11-18 17:20:39 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 17:20:39 INF] CORS policy execution successful. [2025-11-18 17:20:39 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 17:20:39 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 17:20:39 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:20:39 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:20:39 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-11-18 17:20:39 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-11-18 17:20:39 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:20:39 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 60.0412ms [2025-11-18 17:20:39 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 17:20:39 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 60.5741ms [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - - 204 - - 0.2004ms [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=15 - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=15 - - - 204 - - 0.1181ms [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.1754ms [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=15 - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=15 - - - 204 - - 0.1364ms [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=15 - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=15 - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=15 - - - 204 - - 0.2799ms [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=15 - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=15 - - - 204 - - 0.0865ms [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=15 - - - 204 - - 0.8095ms [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=15 - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=15 - - - 204 - - 0.1270ms [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=15 - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=15 - - - 204 - - 0.1293ms [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - - 204 - - 0.1281ms [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.2980ms [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2980ms [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.1319ms [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=15 - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-11-18 17:20:54 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 17:20:54 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-11-18 17:20:54 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-11-18 17:20:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:20:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-11-18 17:20:54 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 17:20:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:20:54 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:20:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:20:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT t."Id", t."CreateTime", t."Description", t."ExportFilesId", t."FlatId", t."Hash", t."InternalFlatId", t."IsFlatBalance", t."PaymentTime", t."Status", t."Sum", t."UpdateTime", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", e."Id", e."CountAll", e."CountSuccessful", e."CreateTime", e."FileName", e."Hash" FROM "Transactions" AS t LEFT JOIN "Flats" AS f ON t."FlatId" = f."Id" INNER JOIN "ExportFiles" AS e ON t."ExportFilesId" = e."Id" [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=15 - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-11-18 17:20:54 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-11-18 17:20:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=15 - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-11-18 17:20:54 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-11-18 17:20:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:20:54 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=15 - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-11-18 17:20:54 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-11-18 17:20:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:20:54 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:20:54 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-11-18 17:20:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:20:54 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 34.476ms [2025-11-18 17:20:54 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 35.7223ms [2025-11-18 17:20:54 INF] Executed DbCommand (31ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-11-18 17:20:54 INF] Executed DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:20:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-11-18 17:20:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:20:54 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 46.938ms [2025-11-18 17:20:54 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 47.3262ms [2025-11-18 17:20:54 INF] Executed DbCommand (9ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-11-18 17:20:54 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-11-18 17:20:54 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 92.6397ms [2025-11-18 17:20:54 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - - 200 - application/json;+charset=utf-8 93.0714ms [2025-11-18 17:20:54 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:20:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:20:54 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 104.4113ms [2025-11-18 17:20:54 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=15 - - - 200 - application/json;+charset=utf-8 104.9908ms [2025-11-18 17:20:54 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-11-18 17:20:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:20:54 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 68.2107ms [2025-11-18 17:20:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:20:54 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 69.2238ms [2025-11-18 17:20:54 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 118.4962ms [2025-11-18 17:20:54 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 118.9017ms [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=15 - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-11-18 17:20:54 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-11-18 17:20:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:20:54 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=15 - - [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=15 - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-11-18 17:20:54 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-11-18 17:20:54 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-11-18 17:20:54 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-11-18 17:20:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:20:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:20:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-11-18 17:20:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:20:54 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 15.7099ms [2025-11-18 17:20:54 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 16.1065ms [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-11-18 17:20:54 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-11-18 17:20:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-11-18 17:20:54 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:20:54 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-11-18 17:20:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:20:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:20:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-11-18 17:20:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-11-18 17:20:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:20:54 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 23.2502ms [2025-11-18 17:20:54 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 24.0631ms [2025-11-18 17:20:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:20:54 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 25.3003ms [2025-11-18 17:20:54 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=15 - - - 200 - application/json;+charset=utf-8 26.0581ms [2025-11-18 17:20:54 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:20:54 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-11-18 17:20:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:20:54 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 31.9381ms [2025-11-18 17:20:54 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 32.7081ms [2025-11-18 17:20:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:20:54 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-11-18 17:20:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:20:54 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 20.1395ms [2025-11-18 17:20:54 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 23.2153ms [2025-11-18 17:20:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-11-18 17:20:54 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-11-18 17:20:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:20:54 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:20:54 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", 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-11-18 17:20:54 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - [2025-11-18 17:20:54 INF] CORS policy execution successful. [2025-11-18 17:20:54 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 17:20:54 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-11-18 17:20:54 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:20:54 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:20:54 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 28.3649ms [2025-11-18 17:20:54 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 29.0443ms [2025-11-18 17:20:54 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:20:54 INF] Executed DbCommand (1ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-11-18 17:20:54 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-11-18 17:20:54 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 17.8496ms [2025-11-18 17:20:54 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 17:20:54 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=15 - - - 200 - application/json;+charset=utf-8 18.4716ms [2025-11-18 17:21:08 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=17 - - [2025-11-18 17:21:08 INF] CORS policy execution successful. [2025-11-18 17:21:08 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=17 - - - 204 - - 0.1887ms [2025-11-18 17:21:08 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=17 - - [2025-11-18 17:21:08 INF] CORS policy execution successful. [2025-11-18 17:21:08 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-11-18 17:21:08 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-11-18 17:21:08 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:21: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-11-18 17:21:08 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-11-18 17:21:08 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-11-18 17:21:08 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 29.9804ms [2025-11-18 17:21:08 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-11-18 17:21:08 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=17 - - - 200 - application/json;+charset=utf-8 30.4360ms [2025-11-18 17:21:09 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa%20najmu%20%C5%BBuromi%C5%84ska%201%20lok%20133_11012025.pdf&id=17 - - [2025-11-18 17:21:09 INF] CORS policy execution successful. [2025-11-18 17:21:09 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa%20najmu%20%C5%BBuromi%C5%84ska%201%20lok%20133_11012025.pdf&id=17 - - - 204 - - 0.2175ms [2025-11-18 17:21:09 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa%20najmu%20%C5%BBuromi%C5%84ska%201%20lok%20133_11012025.pdf&id=17 - - [2025-11-18 17:21:09 INF] CORS policy execution successful. [2025-11-18 17:21:09 INF] Executing endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-11-18 17:21:09 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-11-18 17:21:09 INF] Executing FileContentResult, sending file with download name '' ... [2025-11-18 17:21:09 INF] Executed action Web.Controllers.API.FileController.GetFile (Web) in 7.6989ms [2025-11-18 17:21:09 INF] Executed endpoint 'Web.Controllers.API.FileController.GetFile (Web)' [2025-11-18 17:21:09 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/file/GetFile?itemName=rental-contracts&fileName=Umowa%20najmu%20%C5%BBuromi%C5%84ska%201%20lok%20133_11012025.pdf&id=17 - - - 200 2223416 application/pdf 8.2395ms [2025-11-18 17:22:59 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 17:22:59 INF] CORS policy execution successful. [2025-11-18 17:22:59 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.2024ms [2025-11-18 17:22:59 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 17:22:59 INF] CORS policy execution successful. [2025-11-18 17:22:59 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 17:22:59 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 17:22:59 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:22: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-11-18 17:22:59 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-11-18 17:22:59 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-11-18 17:22:59 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:22:59 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 66.9882ms [2025-11-18 17:22:59 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 17:22:59 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 67.4695ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - - 204 - - 0.2262ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=301 - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=301 - - - 204 - - 0.2204ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getAll - - - 204 - - 0.4044ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=301 - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=301 - - - 204 - - 0.1821ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=301 - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=301 - - - 204 - - 0.2467ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=301 - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=301 - - - 204 - - 0.2092ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - - 204 - - 0.2095ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=301 - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - - 204 - - 0.3280ms [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=301 - - - 204 - - 0.3577ms [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - - 204 - - 2.9229ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/landlord/getAll - - - 204 - - 0.2164ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/tenant/getAll - - - 204 - - 0.2056ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/employee/getAll - - - 204 - - 0.2118ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=301 - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Executing endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-11-18 17:23:22 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 17:23:22 INF] Route matched with {action = "GetAllByFlatId", controller = "Meter"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.MeterController (Web). [2025-11-18 17:23:22 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-11-18 17:23:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:23:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=301 - - [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=301 - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-11-18 17:23:22 INF] Route matched with {action = "GetAll", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 17:23:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Executing endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-11-18 17:23:22 INF] Route matched with {action = "GetAllByFlatId", controller = "Inspection"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InspectionController (Web). [2025-11-18 17:23:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:23:22 INF] Executing endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-11-18 17:23:22 INF] Route matched with {action = "GetAllByFlatId", controller = "Transaction"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.TransactionController (Web). [2025-11-18 17:23:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:23:22 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:23:22 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:23:22 INF] Executed DbCommand (2ms) [Parameters=[@__id_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT t0."Id", t0."AccountNumber", t0."AccountNumber2", t0."AccountNumber3", t0."AdminFees", t0."Apartment", t0."Balance", t0."Building", t0."City", t0."CountParkingSpots", t0."CountRooms", t0."CreateTime", t0."Deposit", t0."Description", t0."Floor", t0."HasBalcony", t0."HasTerrace", t0."InternalId", t0."LandlordId", t0."PetAllowed", t0."Postcode", t0."Price", t0."Size", t0."Street", t0."Title", t0."UpdateTime", t0."YearBuilt", t0."Id0", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value", t0."CreateTime0", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime0", t0."AccountNumber0", t0."Balance0", t0."Comment" FROM ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id" AS "Id0", t."CreateTime" AS "CreateTime0", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime" AS "UpdateTime0", t."AccountNumber" AS "AccountNumber0", t."Balance" AS "Balance0", t."Comment" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" WHERE f."Id" = @__id_0 LIMIT 1 ) AS t0 LEFT JOIN "Expenses" AS e ON t0."Id" = e."FlatId" ORDER BY t0."Id", t0."Id0" [2025-11-18 17:23:22 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT m."Id", m."Category", m."CreateTime", m."FlatId", m."Type", m."Value" FROM "Meters" AS m [2025-11-18 17:23:22 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-11-18 17:23:22 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Meter.MeterVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:23:22 INF] Executed action Web.Controllers.API.MeterController.GetAllByFlatId (Web) in 28.6089ms [2025-11-18 17:23:22 INF] Executed endpoint 'Web.Controllers.API.MeterController.GetAllByFlatId (Web)' [2025-11-18 17:23:22 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 28.5965ms [2025-11-18 17:23:22 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/meter/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 29.0722ms [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - - 200 - application/json;+charset=utf-8 29.0992ms [2025-11-18 17:23:22 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=301 - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:23:22 INF] Executing endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-11-18 17:23:22 INF] Route matched with {action = "GetAllByFlatId", controller = "Equipment"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.EquipmentController (Web). [2025-11-18 17:23:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:23:22 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:23:22 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."CreateTime", i."EmployeeId", i."FlatId" FROM "Inspections" AS i [2025-11-18 17:23:22 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Inspection.InspectionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:23:22 INF] Executed action Web.Controllers.API.InspectionController.GetAllByFlatId (Web) in 30.3083ms [2025-11-18 17:23:22 INF] Executed endpoint 'Web.Controllers.API.InspectionController.GetAllByFlatId (Web)' [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/inspection/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 36.0116ms [2025-11-18 17:23:22 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-11-18 17:23:22 INF] Executed DbCommand (12ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-11-18 17:23:22 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:23:22 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-11-18 17:23:22 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT e."Id", e."Comment", e."CreateTime", e."Description", e."FlatId", e."Title" FROM "Equipments" AS e [2025-11-18 17:23:22 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Equipments.EquipmentVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:23:22 INF] Executed action Web.Controllers.API.EquipmentController.GetAllByFlatId (Web) in 45.6021ms [2025-11-18 17:23:22 INF] Executed endpoint 'Web.Controllers.API.EquipmentController.GetAllByFlatId (Web)' [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/equipment/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 46.1244ms [2025-11-18 17:23:22 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Transactions.TransactionVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:23:22 INF] Executed action Web.Controllers.API.TransactionController.GetAllByFlatId (Web) in 91.6671ms [2025-11-18 17:23:22 INF] Executed endpoint 'Web.Controllers.API.TransactionController.GetAllByFlatId (Web)' [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/transaction/GetAllByFlatId?id=301 - - - 200 - application/json;+charset=utf-8 98.1847ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Executing endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-11-18 17:23:22 INF] Route matched with {action = "GetAllByFlatId", controller = "Agreement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.AgreementController (Web). [2025-11-18 17:23:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:23:22 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:23:22 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT a."Id", a."CreateTime", a."Description", a."EndDate", a."FlatId", a."StartDate", a."Title", a."Type" FROM "Agreements" AS a [2025-11-18 17:23:22 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Agreements.AgreementVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:23:22 INF] Executed action Web.Controllers.API.AgreementController.GetAllByFlatId (Web) in 15.6234ms [2025-11-18 17:23:22 INF] Executed endpoint 'Web.Controllers.API.AgreementController.GetAllByFlatId (Web)' [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/agreement/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 16.0887ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-11-18 17:23:22 INF] Route matched with {action = "GetAllByFlatId", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-11-18 17:23:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:23:22 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:23:22 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-11-18 17:23:22 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.RentalContracts.RentalContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:23:22 INF] Executed action Web.Controllers.API.RentalContractController.GetAllByFlatId (Web) in 27.3145ms [2025-11-18 17:23:22 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetAllByFlatId (Web)' [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 27.7151ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=301 - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Executing endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-11-18 17:23:22 INF] Route matched with {action = "GetAllByFlatId", controller = "Invoice"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllByFlatId(Int32) on controller Web.Controllers.API.InvoiceController (Web). [2025-11-18 17:23:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:23:22 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:23:22 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT i."Id", i."Comment", i."CreateTime", i."Description", i."EndTime", i."FlatId", i."Status", i."Title", i."Value", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt" FROM "Invoices" AS i INNER JOIN "Flats" AS f ON i."FlatId" = f."Id" [2025-11-18 17:23:22 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Invoices.InvoiceVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:23:22 INF] Executed action Web.Controllers.API.InvoiceController.GetAllByFlatId (Web) in 13.1393ms [2025-11-18 17:23:22 INF] Executed endpoint 'Web.Controllers.API.InvoiceController.GetAllByFlatId (Web)' [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/invoice/GetAllByFlatId?flatId=301 - - - 200 - application/json;+charset=utf-8 13.5430ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Executing endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-11-18 17:23:22 INF] Route matched with {action = "GetAll", controller = "Landlord"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.LandlordController (Web). [2025-11-18 17:23:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:23:22 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:23:22 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment", t."Id", t."AccountNumber", t."AccountNumber2", t."AccountNumber3", t."AdminFees", t."Apartment", t."Balance", t."Building", t."City", t."CountParkingSpots", t."CountRooms", t."CreateTime", t."Deposit", t."Description", t."Floor", t."HasBalcony", t."HasTerrace", t."InternalId", t."LandlordId", t."PetAllowed", t."Postcode", t."Price", t."Size", t."Street", t."Title", t."UpdateTime", t."YearBuilt", t."Id0", t."Comment", t."CreateTime0", t."Description0", t."EndTime", t."FlatId", t."Status", t."Title0", t."Value" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN ( SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", i."Id" AS "Id0", i."Comment", i."CreateTime" AS "CreateTime0", i."Description" AS "Description0", i."EndTime", i."FlatId", i."Status", i."Title" AS "Title0", i."Value" FROM "Flats" AS f LEFT JOIN "Invoices" AS i ON f."Id" = i."FlatId" ) AS t ON u."Id" = t."LandlordId" ORDER BY u."Id", t."Id" [2025-11-18 17:23:22 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Landlords.LandlordVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:23:22 INF] Executed action Web.Controllers.API.LandlordController.GetAll (Web) in 23.3196ms [2025-11-18 17:23:22 INF] Executed endpoint 'Web.Controllers.API.LandlordController.GetAll (Web)' [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/landlord/getAll - - - 200 - application/json;+charset=utf-8 23.7937ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Executing endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-11-18 17:23:22 INF] Route matched with {action = "GetAll", controller = "Tenant"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.TenantController (Web). [2025-11-18 17:23:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:23:22 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:23:22 INF] Executed action Web.Controllers.API.FlatController.GetAll (Web) in 194.9128ms [2025-11-18 17:23:22 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAll (Web)' [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getAll - - - 200 - application/json;+charset=utf-8 199.5814ms [2025-11-18 17:23:22 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", t."Comment" FROM "Users" AS u INNER JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-11-18 17:23:22 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Tenants.TenantVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:23:22 INF] Executed action Web.Controllers.API.TenantController.GetAll (Web) in 20.0537ms [2025-11-18 17:23:22 INF] Executed endpoint 'Web.Controllers.API.TenantController.GetAll (Web)' [2025-11-18 17:23:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/tenant/getAll - - - 200 - application/json;+charset=utf-8 20.3915ms [2025-11-18 17:23:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - [2025-11-18 17:23:22 INF] CORS policy execution successful. [2025-11-18 17:23:22 INF] Executing endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-11-18 17:23:22 INF] Route matched with {action = "GetAll", controller = "Employee"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller Web.Controllers.API.EmployeeController (Web). [2025-11-18 17:23:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:23:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:23:23 INF] Executed DbCommand (0ms) [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-11-18 17:23:23 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Employees.EmployeeVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:23:23 INF] Executed action Web.Controllers.API.EmployeeController.GetAll (Web) in 13.6346ms [2025-11-18 17:23:23 INF] Executed endpoint 'Web.Controllers.API.EmployeeController.GetAll (Web)' [2025-11-18 17:23:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/employee/getAll - - - 200 - application/json;+charset=utf-8 13.9707ms [2025-11-18 17:23:23 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - [2025-11-18 17:23:23 INF] CORS policy execution successful. [2025-11-18 17:23:23 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 17:23:23 INF] Route matched with {action = "GetById", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.FlatController (Web). [2025-11-18 17:23:23 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:23:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:23:23 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-11-18 17:23:23 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Flats.FlatVM'. [2025-11-18 17:23:23 INF] Executed action Web.Controllers.API.FlatController.GetById (Web) in 14.6087ms [2025-11-18 17:23:23 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetById (Web)' [2025-11-18 17:23:23 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/getById?id=301 - - - 200 - application/json;+charset=utf-8 15.1571ms [2025-11-18 17:23:37 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=255 - - [2025-11-18 17:23:37 INF] CORS policy execution successful. [2025-11-18 17:23:37 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/rentalContract/getById?id=255 - - - 204 - - 0.2230ms [2025-11-18 17:23:37 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=255 - - [2025-11-18 17:23:37 INF] CORS policy execution successful. [2025-11-18 17:23:37 INF] Executing endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-11-18 17:23:37 INF] Route matched with {action = "GetById", controller = "RentalContract"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(Int32) on controller Web.Controllers.API.RentalContractController (Web). [2025-11-18 17:23:37 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:23:37 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:23:37 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-11-18 17:23:37 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.RentalContracts.RentalContractVM'. [2025-11-18 17:23:37 INF] Executed action Web.Controllers.API.RentalContractController.GetById (Web) in 32.6329ms [2025-11-18 17:23:37 INF] Executed endpoint 'Web.Controllers.API.RentalContractController.GetById (Web)' [2025-11-18 17:23:37 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/rentalContract/getById?id=255 - - - 200 - application/json;+charset=utf-8 33.0822ms [2025-11-18 17:24:42 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 17:24:42 INF] CORS policy execution successful. [2025-11-18 17:24:42 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.1890ms [2025-11-18 17:24:42 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 17:24:42 INF] CORS policy execution successful. [2025-11-18 17:24:42 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 17:24:42 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 17:24:42 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 17:24:42 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 17:24:42 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-11-18 17:24:42 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 17:24:42 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 17:24:42 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 55.3398ms [2025-11-18 17:24:42 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 17:24:42 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 55.8531ms [2025-11-18 18:15:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - [2025-11-18 18:15:03 INF] Sending file. Request path: '/images/facebook.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/facebook.png' [2025-11-18 18:15:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/facebook.png - - - 200 532 image/png 0.3041ms [2025-11-18 18:15:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - [2025-11-18 18:15:03 INF] Sending file. Request path: '/images/instagram.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/instagram.png' [2025-11-18 18:15:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/instagram.png - - - 200 838 image/png 0.1985ms [2025-11-18 18:15:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - [2025-11-18 18:15:03 INF] Sending file. Request path: '/images/linkedin.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/linkedin.png' [2025-11-18 18:15:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/linkedin.png - - - 200 684 image/png 0.3156ms [2025-11-18 18:15:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - [2025-11-18 18:15:03 INF] Sending file. Request path: '/images/email.png'. Physical path: '/var/www/html/server_HMGT/www/wwwroot/images/email.png' [2025-11-18 18:15:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/images/email.png - - - 200 26235 image/png 0.2898ms [2025-11-18 20:48:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/guest/loginemail - 0 [2025-11-18 20:48:19 INF] CORS policy execution successful. [2025-11-18 20:48:19 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/guest/loginemail - 0 - 204 - - 0.2408ms [2025-11-18 20:48:19 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/guest/loginemail application/json 53 [2025-11-18 20:48:19 INF] CORS policy execution successful. [2025-11-18 20:48:19 INF] Executing endpoint 'Web.Controllers.API.GuestController.LoginEmail (Web)' [2025-11-18 20:48:19 INF] Route matched with {action = "LoginEmail", controller = "Guest"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] LoginEmail(Web.Models.API.Guest.LoginEmailVM) on controller Web.Controllers.API.GuestController (Web). [2025-11-18 20:48:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 20:48:19 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 20:48:19 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", l."AccountNumber", l."Balance", l."Comment", t."Comment", CASE WHEN (t."Id" IS NOT NULL) THEN 'Tenant' WHEN (l."Id" IS NOT NULL) THEN 'Landlord' WHEN (e."Id" IS NOT NULL) THEN 'Employee' END AS "Discriminator" FROM "Users" AS u LEFT JOIN "Employees" AS e ON u."Id" = e."Id" LEFT JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-11-18 20:48:19 INF] Executing BadRequestObjectResult, writing value of type 'Web.Helpers.ErrorModel'. [2025-11-18 20:48:19 INF] Executed action Web.Controllers.API.GuestController.LoginEmail (Web) in 22.7221ms [2025-11-18 20:48:19 INF] Executed endpoint 'Web.Controllers.API.GuestController.LoginEmail (Web)' [2025-11-18 20:48:19 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/guest/loginemail application/json 53 - 400 - application/json;+charset=utf-8 23.1284ms [2025-11-18 20:48:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/guest/loginemail - 0 [2025-11-18 20:48:26 INF] CORS policy execution successful. [2025-11-18 20:48:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/guest/loginemail - 0 - 204 - - 0.9342ms [2025-11-18 20:48:26 INF] Request starting HTTP/1.1 POST http://hmgt.metrohousedev.com/api/guest/loginemail application/json 57 [2025-11-18 20:48:26 INF] CORS policy execution successful. [2025-11-18 20:48:26 INF] Executing endpoint 'Web.Controllers.API.GuestController.LoginEmail (Web)' [2025-11-18 20:48:26 INF] Route matched with {action = "LoginEmail", controller = "Guest"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] LoginEmail(Web.Models.API.Guest.LoginEmailVM) on controller Web.Controllers.API.GuestController (Web). [2025-11-18 20:48:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 20:48: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-11-18 20:48:26 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", l."AccountNumber", l."Balance", l."Comment", t."Comment", CASE WHEN (t."Id" IS NOT NULL) THEN 'Tenant' WHEN (l."Id" IS NOT NULL) THEN 'Landlord' WHEN (e."Id" IS NOT NULL) THEN 'Employee' END AS "Discriminator" FROM "Users" AS u LEFT JOIN "Employees" AS e ON u."Id" = e."Id" LEFT JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN "Tenants" AS t ON u."Id" = t."Id" [2025-11-18 20:48:26 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30'] SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position", l."AccountNumber", l."Balance", l."Comment", t."Comment", CASE WHEN (t."Id" IS NOT NULL) THEN 'Tenant' WHEN (l."Id" IS NOT NULL) THEN 'Landlord' WHEN (e."Id" IS NOT NULL) THEN 'Employee' END AS "Discriminator" FROM "Users" AS u LEFT JOIN "Employees" AS e ON u."Id" = e."Id" LEFT JOIN "Landlords" AS l ON u."Id" = l."Id" LEFT JOIN "Tenants" AS t ON u."Id" = t."Id" WHERE u."Id" = @__p_0 LIMIT 1 [2025-11-18 20:48:26 INF] Executed DbCommand (0ms) [Parameters=[@p12='?' (DbType = Int32), @p0='?' (DbType = DateTime), @p1='?', @p2='?' (DbType = DateTime), @p3='?', @p4='?', @p5='?', @p6='?', @p7='?', @p8='?' (DbType = Int32), @p9='?', @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime)], CommandType='"Text"', CommandTimeout='30'] UPDATE "Users" SET "CreateTime" = @p0, "Email" = @p1, "ExpiresAt" = @p2, "FirstName" = @p3, "LastName" = @p4, "PasswordHash" = @p5, "PhoneNumber" = @p6, "RefreshToken" = @p7, "Role" = @p8, "Salt" = @p9, "Status" = @p10, "UpdateTime" = @p11 WHERE "Id" = @p12; [2025-11-18 20:48:26 INF] Executing OkObjectResult, writing value of type 'Web.Models.API.Guest.TokenVM'. [2025-11-18 20:48:26 INF] Executed action Web.Controllers.API.GuestController.LoginEmail (Web) in 20.0652ms [2025-11-18 20:48:26 INF] Executed endpoint 'Web.Controllers.API.GuestController.LoginEmail (Web)' [2025-11-18 20:48:26 INF] Request finished HTTP/1.1 POST http://hmgt.metrohousedev.com/api/guest/loginemail application/json 57 - 200 - application/json;+charset=utf-8 20.3851ms [2025-11-18 20:48:26 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 [2025-11-18 20:48:26 INF] CORS policy execution successful. [2025-11-18 20:48:26 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 - 204 - - 0.4017ms [2025-11-18 20:48:26 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 20:48:26 INF] CORS policy execution successful. [2025-11-18 20:48:26 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 20:48:26 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-11-18 20:48:26 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 20:48:26 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 20:48:26 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-11-18 20:48:26 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 20:48:26 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-11-18 20:48:26 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 67.1459ms [2025-11-18 20:48:26 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 20:48:26 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 67.7868ms [2025-11-18 20:48:27 INF] Request starting HTTP/1.1 GET http://srvapp.hmgt.pl/ - - [2025-11-18 20:48:27 INF] Request finished HTTP/1.1 GET http://srvapp.hmgt.pl/ - - - 404 0 - 0.1610ms [2025-11-18 20:48:46 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 [2025-11-18 20:48:46 INF] CORS policy execution successful. [2025-11-18 20:48:46 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 - 204 - - 0.2037ms [2025-11-18 20:48:46 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 20:48:46 INF] CORS policy execution successful. [2025-11-18 20:48:46 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 20:48:46 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 20:48:46 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 20:48: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-11-18 20:48:46 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-11-18 20:48:46 INF] Executed DbCommand (5ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 20:48:46 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 20:48:46 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 55.6774ms [2025-11-18 20:48:46 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 20:48:46 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 56.2610ms [2025-11-18 20:50:12 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 [2025-11-18 20:50:12 INF] CORS policy execution successful. [2025-11-18 20:50:12 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 - 204 - - 0.2914ms [2025-11-18 20:50:12 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 20:50:12 INF] CORS policy execution successful. [2025-11-18 20:50:12 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 20:50:12 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 20:50:12 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 20:50:12 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 20:50:12 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-11-18 20:50:12 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 20:50:12 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 20:50:12 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 64.5691ms [2025-11-18 20:50:12 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 20:50:12 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 65.0987ms [2025-11-18 20:52:24 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 [2025-11-18 20:52:24 INF] CORS policy execution successful. [2025-11-18 20:52:24 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 - 204 - - 0.2041ms [2025-11-18 20:52:24 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 20:52:24 INF] CORS policy execution successful. [2025-11-18 20:52:24 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 20:52:24 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-11-18 20:52:24 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 20:52:24 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 20:52:24 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-11-18 20:52:24 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-11-18 20:52:24 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-11-18 20:52:24 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 57.3982ms [2025-11-18 20:52:24 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 20:52:24 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 57.9144ms [2025-11-18 20:55:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 [2025-11-18 20:55:19 INF] CORS policy execution successful. [2025-11-18 20:55:19 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 - 204 - - 0.2145ms [2025-11-18 20:55:20 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 20:55:20 INF] CORS policy execution successful. [2025-11-18 20:55:20 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 20:55:20 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 20:55:20 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 20:55:20 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-11-18 20:55:20 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-11-18 20:55:20 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 20:55:20 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 20:55:20 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 63.8727ms [2025-11-18 20:55:20 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 20:55:20 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 64.5061ms [2025-11-18 20:57:19 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 [2025-11-18 20:57:19 INF] CORS policy execution successful. [2025-11-18 20:57:19 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 - 204 - - 0.2223ms [2025-11-18 20:57:19 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 20:57:19 INF] CORS policy execution successful. [2025-11-18 20:57:19 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 20:57:19 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 20:57:19 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 20:57:19 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 20:57:19 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-11-18 20:57:19 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 20:57:19 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 20:57:19 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 59.4256ms [2025-11-18 20:57:19 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 20:57:19 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 59.8991ms [2025-11-18 21:10:22 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 [2025-11-18 21:10:22 INF] CORS policy execution successful. [2025-11-18 21:10:22 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 - 204 - - 0.1741ms [2025-11-18 21:10:22 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 21:10:22 INF] CORS policy execution successful. [2025-11-18 21:10:22 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 21:10:22 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-11-18 21:10:22 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 21:10:22 INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 21:10:22 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-11-18 21:10:22 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-11-18 21:10:22 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 21:10:22 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 54.8407ms [2025-11-18 21:10:22 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 21:10:22 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 55.3482ms [2025-11-18 21:12:38 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 [2025-11-18 21:12:38 INF] CORS policy execution successful. [2025-11-18 21:12:38 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 - 204 - - 0.1999ms [2025-11-18 21:12:38 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 21:12:38 INF] CORS policy execution successful. [2025-11-18 21:12:38 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 21:12:38 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 21:12:38 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 21:12:38 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 21:12:38 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-11-18 21:12: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-11-18 21:12:38 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 21:12:38 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 71.7075ms [2025-11-18 21:12:38 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 21:12:38 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 72.2609ms [2025-11-18 21:14:07 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 [2025-11-18 21:14:07 INF] CORS policy execution successful. [2025-11-18 21:14:07 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 - 204 - - 0.2644ms [2025-11-18 21:14:07 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 21:14:07 INF] CORS policy execution successful. [2025-11-18 21:14:07 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 21:14: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-11-18 21:14:07 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 21:14:07 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 21:14: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-11-18 21:14:07 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-11-18 21:14: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-11-18 21:14:07 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 281.4443ms [2025-11-18 21:14:07 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 21:14:07 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 282.1238ms [2025-11-18 21:14:34 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 [2025-11-18 21:14:34 INF] CORS policy execution successful. [2025-11-18 21:14:34 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 - 204 - - 0.2042ms [2025-11-18 21:14:34 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 21:14:34 INF] CORS policy execution successful. [2025-11-18 21:14:34 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 21:14:34 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 21:14:34 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 21:14: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-11-18 21:14:34 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-11-18 21:14:34 INF] Executed DbCommand (3ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT r."Id", r."CreateTime", r."EmployeeId", r."EndDate", r."FlatId", r."HGMTFee", r."RentPrice", r."StartDate", r."Status", r."TenantId", f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."Comment", t."Position", t0."Id", t0."CreateTime", t0."Email", t0."ExpiresAt", t0."FirstName", t0."LastName", t0."PasswordHash", t0."PhoneNumber", t0."RefreshToken", t0."Role", t0."Salt", t0."Status", t0."UpdateTime", t0."Comment" FROM "RentalContracts" AS r INNER JOIN "Flats" AS f ON r."FlatId" = f."Id" INNER JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", e."Comment", e."Position" FROM "Users" AS u INNER JOIN "Employees" AS e ON u."Id" = e."Id" ) AS t ON r."EmployeeId" = t."Id" INNER JOIN ( SELECT u0."Id", u0."CreateTime", u0."Email", u0."ExpiresAt", u0."FirstName", u0."LastName", u0."PasswordHash", u0."PhoneNumber", u0."RefreshToken", u0."Role", u0."Salt", u0."Status", u0."UpdateTime", t1."Comment" FROM "Users" AS u0 INNER JOIN "Tenants" AS t1 ON u0."Id" = t1."Id" ) AS t0 ON r."TenantId" = t0."Id" [2025-11-18 21:14:34 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 21:14:34 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 57.7ms [2025-11-18 21:14:34 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 21:14:34 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 58.1802ms [2025-11-18 21:16:29 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 [2025-11-18 21:16:29 INF] CORS policy execution successful. [2025-11-18 21:16:29 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 - 204 - - 0.1923ms [2025-11-18 21:16:29 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 21:16:29 INF] CORS policy execution successful. [2025-11-18 21:16:29 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 21:16:29 INF] Route matched with {action = "GetAllWithActualContract", controller = "Flat"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllWithActualContract() on controller Web.Controllers.API.FlatController (Web). [2025-11-18 21:16:29 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 21:16:29 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT CASE WHEN COUNT(*) = 0 THEN FALSE ELSE TRUE END FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE cls.relkind IN ('r', 'v', 'm', 'f', 'p') AND ns.nspname NOT IN ('pg_catalog', 'information_schema') AND -- Exclude tables which are members of PG extensions NOT EXISTS ( SELECT 1 FROM pg_depend WHERE classid=( SELECT cls.oid FROM pg_class AS cls JOIN pg_namespace AS ns ON ns.oid = cls.relnamespace WHERE relname='pg_class' AND ns.nspname='pg_catalog' ) AND objid=cls.oid AND deptype IN ('e', 'x') ) [2025-11-18 21:16:29 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-11-18 21:16:29 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-11-18 21:16:29 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[Web.Models.API.Flats.FlatContractVM, Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. [2025-11-18 21:16:29 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 61.1175ms [2025-11-18 21:16:29 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 21:16:29 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 61.6313ms [2025-11-18 21:19:03 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 [2025-11-18 21:19:03 INF] CORS policy execution successful. [2025-11-18 21:19:03 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - 0 - 204 - - 0.1957ms [2025-11-18 21:19:03 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 21:19:03 INF] CORS policy execution successful. [2025-11-18 21:19:03 INF] Executing endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 21:19: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-11-18 21:19:03 INF] Entity Framework Core 6.0.29 initialized 'EFDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.29+1cc46a0695f052ba0f1ade7046d577882d351f39' with options: None [2025-11-18 21:19: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-11-18 21:19:03 INF] Executed DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30'] SELECT f."Id", f."AccountNumber", f."AccountNumber2", f."AccountNumber3", f."AdminFees", f."Apartment", f."Balance", f."Building", f."City", f."CountParkingSpots", f."CountRooms", f."CreateTime", f."Deposit", f."Description", f."Floor", f."HasBalcony", f."HasTerrace", f."InternalId", f."LandlordId", f."PetAllowed", f."Postcode", f."Price", f."Size", f."Street", f."Title", f."UpdateTime", f."YearBuilt", t."Id", t."CreateTime", t."Email", t."ExpiresAt", t."FirstName", t."LastName", t."PasswordHash", t."PhoneNumber", t."RefreshToken", t."Role", t."Salt", t."Status", t."UpdateTime", t."AccountNumber", t."Balance", t."Comment", e."Id", e."AccountNumber", e."Comment", e."CreateTime", e."FlatId", e."StartDate", e."Status", e."Type", e."UpdateTime", e."Value" FROM "Flats" AS f LEFT JOIN ( SELECT u."Id", u."CreateTime", u."Email", u."ExpiresAt", u."FirstName", u."LastName", u."PasswordHash", u."PhoneNumber", u."RefreshToken", u."Role", u."Salt", u."Status", u."UpdateTime", l."AccountNumber", l."Balance", l."Comment" FROM "Users" AS u INNER JOIN "Landlords" AS l ON u."Id" = l."Id" ) AS t ON f."LandlordId" = t."Id" LEFT JOIN "Expenses" AS e ON f."Id" = e."FlatId" ORDER BY f."Id", t."Id" [2025-11-18 21:19: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-11-18 21:19: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-11-18 21:19:03 INF] Executed action Web.Controllers.API.FlatController.GetAllWithActualContract (Web) in 58.1917ms [2025-11-18 21:19:03 INF] Executed endpoint 'Web.Controllers.API.FlatController.GetAllWithActualContract (Web)' [2025-11-18 21:19:03 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 200 - application/json;+charset=utf-8 58.8753ms [2025-11-18 23:17:16 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-11-18 23:17:16 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.2347ms [2025-11-18 23:17:16 INF] Request starting HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - [2025-11-18 23:17:16 INF] Request finished HTTP/1.1 GET http://hmgt.metrohousedev.com/robots.txt - - - 404 0 - 0.2387ms [2025-11-18 23:51:52 INF] Request starting HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - [2025-11-18 23:51:52 INF] CORS policy execution successful. [2025-11-18 23:51:52 INF] Request finished HTTP/1.1 OPTIONS http://hmgt.metrohousedev.com/api/flat/GetAllWithActualContract - - - 204 - - 0.1971ms