2023-07-27 15:16:02.196 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/74e12a9f-d282-4dce-f6d0-08db8e8d56e6 - -
2023-07-27 15:16:02.203 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:02.204 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:02.252 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:02.256 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:02.257 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 51.6441ms
2023-07-27 15:16:02.259 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:02.261 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/74e12a9f-d282-4dce-f6d0-08db8e8d56e6 - - - 200 - application/json;+charset=utf-8 64.5269ms
2023-07-27 15:16:03.941 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - -
2023-07-27 15:16:03.943 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:03.944 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:03.948 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:03.950 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:03.951 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 5.5562ms
2023-07-27 15:16:03.952 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:03.953 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - - - 200 - application/json;+charset=utf-8 12.3107ms
2023-07-27 15:16:06.014 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 - -
2023-07-27 15:16:06.016 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:06.017 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:06.021 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:06.023 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:06.024 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 6.2802ms
2023-07-27 15:16:06.026 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:06.027 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 - - - 200 - application/json;+charset=utf-8 12.3631ms
2023-07-27 15:16:10.574 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - -
2023-07-27 15:16:10.576 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:10.577 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:10.581 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:10.583 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:10.584 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 5.6881ms
2023-07-27 15:16:10.585 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:10.586 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - - - 200 - application/json;+charset=utf-8 11.2245ms
2023-07-27 15:16:11.582 +04:00 [INF] Request starting HTTP/1.1 DELETE https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - -
2023-07-27 15:16:11.583 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.DeleteById (LearningASP)'
2023-07-27 15:16:11.586 +04:00 [INF] Route matched with {action = "DeleteById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] DeleteById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:11.590 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:11.660 +04:00 [INF] Executed DbCommand (8ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SET IMPLICIT_TRANSACTIONS OFF;
SET NOCOUNT ON;
DELETE FROM [Regions]
OUTPUT 1
WHERE [Id] = @p0;
2023-07-27 15:16:11.671 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:11.672 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.DeleteById (LearningASP) in 84.779ms
2023-07-27 15:16:11.673 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.DeleteById (LearningASP)'
2023-07-27 15:16:11.674 +04:00 [INF] Request finished HTTP/1.1 DELETE https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - - - 200 - application/json;+charset=utf-8 92.6089ms
2023-07-27 15:16:11.684 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions - -
2023-07-27 15:16:11.685 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetAll (LearningASP)'
2023-07-27 15:16:11.686 +04:00 [INF] Route matched with {action = "GetAll", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:11.687 +04:00 [INF] Get All regions Action method invoked
2023-07-27 15:16:11.689 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
SELECT [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
2023-07-27 15:16:11.692 +04:00 [INF] Finished Get All regions Action method with data: [{"Id":"b260312a-e08d-4477-f6cf-08db8e8d56e6","Code":"WLG","Name":"Wellington","RegionImageUrl":null},{"Id":"74e12a9f-d282-4dce-f6d0-08db8e8d56e6","Code":"VAR","Name":"Varketili","RegionImageUrl":null},{"Id":"906cb139-415a-4bbb-a174-1a1faf9fb1f6","Code":"NSN","Name":"Nelson","RegionImageUrl":"https://images.pexels.com/photos/13918194/pexels-photo-13918194.jpeg?auto=compress\u0026cs=tinysrgb\u0026w=1260\u0026h=750\u0026dpr=1"},{"Id":"f7248fc3-2585-4efb-8d1d-1c555f4087f6","Code":"AKL","Name":"Auckland","RegionImageUrl":"https://images.pexels.com/photos/5169056/pexels-photo-5169056.jpeg?auto=compress\u0026cs=tinysrgb\u0026w=1260\u0026h=750\u0026dpr=1"},{"Id":"14ceba71-4b51-4777-9b17-46602cf66153","Code":"BOP","Name":"Bay Of Plenty","RegionImageUrl":null},{"Id":"6884f7d7-ad1f-4101-8df3-7a6fa7387d81","Code":"NTL","Name":"Northland","RegionImageUrl":null},{"Id":"f077a22e-4248-4bf6-b564-c7cf4e250263","Code":"STL","Name":"Southland","RegionImageUrl":null},{"Id":"cfa06ed2-bf65-4b65-93ed-c9d286ddb0de","Code":"WGN","Name":"Wellington","RegionImageUrl":"https://images.pexels.com/photos/4350631/pexels-photo-4350631.jpeg?auto=compress\u0026cs=tinysrgb\u0026w=1260\u0026h=750\u0026dpr=1"}]
2023-07-27 15:16:11.695 +04:00 [INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[LearningASP.Models.DTO.RegionDto, LearningASP, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2023-07-27 15:16:11.696 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetAll (LearningASP) in 8.9758ms
2023-07-27 15:16:11.697 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetAll (LearningASP)'
2023-07-27 15:16:11.699 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions - - - 200 - application/json;+charset=utf-8 14.5859ms
2023-07-27 15:16:13.350 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/74e12a9f-d282-4dce-f6d0-08db8e8d56e6 - -
2023-07-27 15:16:13.351 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:13.352 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:13.357 +04:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:13.359 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:13.360 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 6.4145ms
2023-07-27 15:16:13.361 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:13.362 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/74e12a9f-d282-4dce-f6d0-08db8e8d56e6 - - - 200 - application/json;+charset=utf-8 12.1228ms
2023-07-27 15:16:14.384 +04:00 [INF] Request starting HTTP/1.1 DELETE https://localhost:7055/api/Regions/74e12a9f-d282-4dce-f6d0-08db8e8d56e6 - -
2023-07-27 15:16:14.385 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.DeleteById (LearningASP)'
2023-07-27 15:16:14.386 +04:00 [INF] Route matched with {action = "DeleteById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] DeleteById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:14.390 +04:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:14.396 +04:00 [INF] Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SET IMPLICIT_TRANSACTIONS OFF;
SET NOCOUNT ON;
DELETE FROM [Regions]
OUTPUT 1
WHERE [Id] = @p0;
2023-07-27 15:16:14.399 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:14.399 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.DeleteById (LearningASP) in 12.2542ms
2023-07-27 15:16:14.400 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.DeleteById (LearningASP)'
2023-07-27 15:16:14.401 +04:00 [INF] Request finished HTTP/1.1 DELETE https://localhost:7055/api/Regions/74e12a9f-d282-4dce-f6d0-08db8e8d56e6 - - - 200 - application/json;+charset=utf-8 17.5782ms
2023-07-27 15:16:14.410 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions - -
2023-07-27 15:16:14.411 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetAll (LearningASP)'
2023-07-27 15:16:14.412 +04:00 [INF] Route matched with {action = "GetAll", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:14.414 +04:00 [INF] Get All regions Action method invoked
2023-07-27 15:16:14.417 +04:00 [INF] Executed DbCommand (2ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
SELECT [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
2023-07-27 15:16:14.419 +04:00 [INF] Finished Get All regions Action method with data: [{"Id":"b260312a-e08d-4477-f6cf-08db8e8d56e6","Code":"WLG","Name":"Wellington","RegionImageUrl":null},{"Id":"906cb139-415a-4bbb-a174-1a1faf9fb1f6","Code":"NSN","Name":"Nelson","RegionImageUrl":"https://images.pexels.com/photos/13918194/pexels-photo-13918194.jpeg?auto=compress\u0026cs=tinysrgb\u0026w=1260\u0026h=750\u0026dpr=1"},{"Id":"f7248fc3-2585-4efb-8d1d-1c555f4087f6","Code":"AKL","Name":"Auckland","RegionImageUrl":"https://images.pexels.com/photos/5169056/pexels-photo-5169056.jpeg?auto=compress\u0026cs=tinysrgb\u0026w=1260\u0026h=750\u0026dpr=1"},{"Id":"14ceba71-4b51-4777-9b17-46602cf66153","Code":"BOP","Name":"Bay Of Plenty","RegionImageUrl":null},{"Id":"6884f7d7-ad1f-4101-8df3-7a6fa7387d81","Code":"NTL","Name":"Northland","RegionImageUrl":null},{"Id":"f077a22e-4248-4bf6-b564-c7cf4e250263","Code":"STL","Name":"Southland","RegionImageUrl":null},{"Id":"cfa06ed2-bf65-4b65-93ed-c9d286ddb0de","Code":"WGN","Name":"Wellington","RegionImageUrl":"https://images.pexels.com/photos/4350631/pexels-photo-4350631.jpeg?auto=compress\u0026cs=tinysrgb\u0026w=1260\u0026h=750\u0026dpr=1"}]
2023-07-27 15:16:14.422 +04:00 [INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[LearningASP.Models.DTO.RegionDto, LearningASP, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2023-07-27 15:16:14.424 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetAll (LearningASP) in 9.9392ms
2023-07-27 15:16:14.425 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetAll (LearningASP)'
2023-07-27 15:16:14.427 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions - - - 200 - application/json;+charset=utf-8 16.7623ms
2023-07-27 15:16:17.318 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/cfa06ed2-bf65-4b65-93ed-c9d286ddb0de - -
2023-07-27 15:16:17.319 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:17.320 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:17.324 +04:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:17.326 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:17.327 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 5.3269ms
2023-07-27 15:16:17.329 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:17.330 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/cfa06ed2-bf65-4b65-93ed-c9d286ddb0de - - - 200 - application/json;+charset=utf-8 11.6214ms
2023-07-27 15:16:28.120 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 - -
2023-07-27 15:16:28.121 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:28.122 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:28.126 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:28.128 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:28.129 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 5.3569ms
2023-07-27 15:16:28.130 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:28.132 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 - - - 200 - application/json;+charset=utf-8 11.6988ms
2023-07-27 15:16:30.585 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/906cb139-415a-4bbb-a174-1a1faf9fb1f6 - -
2023-07-27 15:16:30.586 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:30.587 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:30.590 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:30.593 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:30.593 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 5.0766ms
2023-07-27 15:16:30.594 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:30.595 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/906cb139-415a-4bbb-a174-1a1faf9fb1f6 - - - 200 - application/json;+charset=utf-8 9.9153ms
2023-07-27 15:16:33.488 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 - -
2023-07-27 15:16:33.489 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:33.490 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:33.494 +04:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:33.497 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:33.498 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 6.5909ms
2023-07-27 15:16:33.499 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:33.500 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 - - - 200 - application/json;+charset=utf-8 12.0808ms
2023-07-27 15:16:44.382 +04:00 [INF] Request starting HTTP/1.1 PUT https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 application/json;+charset=utf-8 126
2023-07-27 15:16:44.384 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.Update (LearningASP)'
2023-07-27 15:16:44.387 +04:00 [INF] Route matched with {action = "Update", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Update(System.Guid, LearningASP.Models.DTO.UpdateRegionRequestDto) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:44.405 +04:00 [INF] Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:44.416 +04:00 [INF] Executed DbCommand (2ms) [Parameters=[@p1='?' (DbType = Guid), @p0='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET IMPLICIT_TRANSACTIONS OFF;
SET NOCOUNT ON;
UPDATE [Regions] SET [RegionImageUrl] = @p0
OUTPUT 1
WHERE [Id] = @p1;
2023-07-27 15:16:44.420 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:44.421 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.Update (LearningASP) in 32.4306ms
2023-07-27 15:16:44.422 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.Update (LearningASP)'
2023-07-27 15:16:44.424 +04:00 [INF] Request finished HTTP/1.1 PUT https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 application/json;+charset=utf-8 126 - 200 - application/json;+charset=utf-8 41.1916ms
2023-07-27 15:16:44.426 +04:00 [INF] Request starting HTTP/1.1 PUT https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 application/json;+charset=utf-8 126
2023-07-27 15:16:44.427 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.Update (LearningASP)'
2023-07-27 15:16:44.428 +04:00 [INF] Route matched with {action = "Update", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Update(System.Guid, LearningASP.Models.DTO.UpdateRegionRequestDto) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:44.432 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:44.435 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:44.436 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.Update (LearningASP) in 6.1866ms
2023-07-27 15:16:44.437 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.Update (LearningASP)'
2023-07-27 15:16:44.437 +04:00 [INF] Request finished HTTP/1.1 PUT https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 application/json;+charset=utf-8 126 - 200 - application/json;+charset=utf-8 11.4837ms
2023-07-27 15:16:44.447 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 - -
2023-07-27 15:16:44.448 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:44.448 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:44.452 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:44.454 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:44.455 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 4.9051ms
2023-07-27 15:16:44.456 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:44.456 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 - - - 200 - application/json;+charset=utf-8 9.7307ms
2023-07-27 15:16:46.634 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions - -
2023-07-27 15:16:46.635 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetAll (LearningASP)'
2023-07-27 15:16:46.636 +04:00 [INF] Route matched with {action = "GetAll", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAll() on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:46.637 +04:00 [INF] Get All regions Action method invoked
2023-07-27 15:16:46.640 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
SELECT [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
2023-07-27 15:16:46.641 +04:00 [INF] Finished Get All regions Action method with data: [{"Id":"b260312a-e08d-4477-f6cf-08db8e8d56e6","Code":"WLG","Name":"Wellington","RegionImageUrl":"https://asdsad.com/asdasdsad"},{"Id":"906cb139-415a-4bbb-a174-1a1faf9fb1f6","Code":"NSN","Name":"Nelson","RegionImageUrl":"https://images.pexels.com/photos/13918194/pexels-photo-13918194.jpeg?auto=compress\u0026cs=tinysrgb\u0026w=1260\u0026h=750\u0026dpr=1"},{"Id":"f7248fc3-2585-4efb-8d1d-1c555f4087f6","Code":"AKL","Name":"Auckland","RegionImageUrl":"https://images.pexels.com/photos/5169056/pexels-photo-5169056.jpeg?auto=compress\u0026cs=tinysrgb\u0026w=1260\u0026h=750\u0026dpr=1"},{"Id":"14ceba71-4b51-4777-9b17-46602cf66153","Code":"BOP","Name":"Bay Of Plenty","RegionImageUrl":null},{"Id":"6884f7d7-ad1f-4101-8df3-7a6fa7387d81","Code":"NTL","Name":"Northland","RegionImageUrl":null},{"Id":"f077a22e-4248-4bf6-b564-c7cf4e250263","Code":"STL","Name":"Southland","RegionImageUrl":null},{"Id":"cfa06ed2-bf65-4b65-93ed-c9d286ddb0de","Code":"WGN","Name":"Wellington","RegionImageUrl":"https://images.pexels.com/photos/4350631/pexels-photo-4350631.jpeg?auto=compress\u0026cs=tinysrgb\u0026w=1260\u0026h=750\u0026dpr=1"}]
2023-07-27 15:16:46.644 +04:00 [INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[LearningASP.Models.DTO.RegionDto, LearningASP, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2023-07-27 15:16:46.645 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetAll (LearningASP) in 7.8776ms
2023-07-27 15:16:46.646 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetAll (LearningASP)'
2023-07-27 15:16:46.647 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions - - - 200 - application/json;+charset=utf-8 12.9415ms
2023-07-27 15:16:48.607 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 - -
2023-07-27 15:16:48.609 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:48.610 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:48.613 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:48.615 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:48.616 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 5.0069ms
2023-07-27 15:16:48.617 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:48.618 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 - - - 200 - application/json;+charset=utf-8 10.6265ms
2023-07-27 15:16:51.555 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/906cb139-415a-4bbb-a174-1a1faf9fb1f6 - -
2023-07-27 15:16:51.556 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:51.558 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:51.562 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:51.565 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:51.566 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 5.9228ms
2023-07-27 15:16:51.567 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:51.568 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/906cb139-415a-4bbb-a174-1a1faf9fb1f6 - - - 200 - application/json;+charset=utf-8 12.2810ms
2023-07-27 15:16:53.594 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/f7248fc3-2585-4efb-8d1d-1c555f4087f6 - -
2023-07-27 15:16:53.595 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:53.596 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:53.600 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:53.602 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:53.603 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 4.7995ms
2023-07-27 15:16:53.604 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:53.605 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/f7248fc3-2585-4efb-8d1d-1c555f4087f6 - - - 200 - application/json;+charset=utf-8 10.6228ms
2023-07-27 15:16:55.995 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/14ceba71-4b51-4777-9b17-46602cf66153 - -
2023-07-27 15:16:55.996 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:55.998 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:56.002 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:56.004 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:56.005 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 5.4569ms
2023-07-27 15:16:56.006 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:56.006 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/14ceba71-4b51-4777-9b17-46602cf66153 - - - 200 - application/json;+charset=utf-8 11.5733ms
2023-07-27 15:16:59.364 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 - -
2023-07-27 15:16:59.365 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:59.366 +04:00 [INF] Route matched with {action = "GetById", controller = "Regions"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetById(System.Guid) on controller LearningASP.Controllers.RegionsController (LearningASP).
2023-07-27 15:16:59.369 +04:00 [INF] Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [r].[Id], [r].[Code], [r].[Name], [r].[RegionImageUrl]
FROM [Regions] AS [r]
WHERE [r].[Id] = @__get_Item_0
2023-07-27 15:16:59.371 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:16:59.372 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 4.7817ms
2023-07-27 15:16:59.373 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:16:59.374 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions/b260312a-e08d-4477-f6cf-08db8e8d56e6 - - - 200 - application/json;+charset=utf-8 9.9510ms
