2023-07-27 15:06:00.665 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - -
2023-07-27 15:06:00.670 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:06:00.671 +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:06:00.674 +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:06:00.677 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:06:00.679 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 6.3847ms
2023-07-27 15:06:00.680 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:06:00.682 +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 16.9145ms
2023-07-27 15:06:04.064 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - -
2023-07-27 15:06:04.066 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:06:04.068 +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:06:04.072 +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:06:04.074 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:06:04.075 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 4.9814ms
2023-07-27 15:06:04.076 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:06:04.077 +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.5642ms
2023-07-27 15:06:04.641 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - -
2023-07-27 15:06:04.642 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:06:04.643 +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:06:04.647 +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:06:04.650 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:06:04.651 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 6.8084ms
2023-07-27 15:06:04.652 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:06:04.653 +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.2458ms
2023-07-27 15:06:12.807 +04:00 [INF] Request starting HTTP/1.1 PUT https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de application/json;+charset=utf-8 97
2023-07-27 15:06:12.808 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.Update (LearningASP)'
2023-07-27 15:06:12.809 +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:06:12.813 +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:06:12.818 +04:00 [INF] Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Guid), @p0='?' (Size = 4000), @p1='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET IMPLICIT_TRANSACTIONS OFF;
SET NOCOUNT ON;
UPDATE [Regions] SET [Code] = @p0, [Name] = @p1
OUTPUT 1
WHERE [Id] = @p2;
2023-07-27 15:06:12.820 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:06:12.821 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.Update (LearningASP) in 10.4313ms
2023-07-27 15:06:12.822 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.Update (LearningASP)'
2023-07-27 15:06:12.823 +04:00 [INF] Request finished HTTP/1.1 PUT https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de application/json;+charset=utf-8 97 - 200 - application/json;+charset=utf-8 15.7078ms
2023-07-27 15:06:12.832 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions/a55f9792-e48d-47fd-5c24-08db8e8fa9de - -
2023-07-27 15:06:12.833 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:06:12.834 +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:06:12.837 +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:06:12.839 +04:00 [INF] Executing OkObjectResult, writing value of type 'LearningASP.Models.DTO.RegionDto'.
2023-07-27 15:06:12.840 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetById (LearningASP) in 4.7946ms
2023-07-27 15:06:12.841 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetById (LearningASP)'
2023-07-27 15:06:12.842 +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 9.9775ms
2023-07-27 15:06:15.340 +04:00 [INF] Request starting HTTP/1.1 GET https://localhost:7055/api/Regions - -
2023-07-27 15:06:15.341 +04:00 [INF] Executing endpoint 'LearningASP.Controllers.RegionsController.GetAll (LearningASP)'
2023-07-27 15:06:15.342 +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:06:15.343 +04:00 [INF] Get All regions Action method invoked
2023-07-27 15:06:15.345 +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:06:15.347 +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":"a55f9792-e48d-47fd-5c24-08db8e8fa9de","Code":"VA","Name":"Vakeeeee","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:06:15.351 +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:06:15.352 +04:00 [INF] Executed action LearningASP.Controllers.RegionsController.GetAll (LearningASP) in 9.1595ms
2023-07-27 15:06:15.353 +04:00 [INF] Executed endpoint 'LearningASP.Controllers.RegionsController.GetAll (LearningASP)'
2023-07-27 15:06:15.355 +04:00 [INF] Request finished HTTP/1.1 GET https://localhost:7055/api/Regions - - - 200 - application/json;+charset=utf-8 14.7894ms
