From a373201ca4c6a3dc43e4bc370112d65cebeb09fa Mon Sep 17 00:00:00 2001 From: Riccardo Usardi Date: Thu, 10 Jul 2025 22:02:33 +0200 Subject: [PATCH] save area controller --- .../0.2.1634.3922/SemanticSymbols.db-wal | Bin 4128272 -> 4128272 bytes .vs/uWine/v17/.suo | Bin 158208 -> 160256 bytes .vs/uWine/v17/DocumentLayout.backup.json | 97 ++++++++++-------- .vs/uWine/v17/DocumentLayout.json | 97 ++++++++++-------- uWine.Api/Controllers/AreaController.cs | 37 +++++++ .../Services/CoordinatesService.cs | 23 +++-- 6 files changed, 165 insertions(+), 89 deletions(-) create mode 100644 uWine.Api/Controllers/AreaController.cs diff --git a/.vs/uWine/CopilotIndices/0.2.1634.3922/SemanticSymbols.db-wal b/.vs/uWine/CopilotIndices/0.2.1634.3922/SemanticSymbols.db-wal index 2a8ddd8e32b1d1a8ac381fe261d1d8444bb35f59..630bc2e0f963f946c45117f48e3ee2c09773622a 100644 GIT binary patch delta 8324 zcmeI1d0Z1`8pmhm9YPXva2P-!s339#A|}Y4L90};RToj)ZneuH?XrqA$Ym{yZLLx3 zT2?Kuwx|f!3L=tLJKosK-L6`x;I_(o(8KB$YU|osakt%PW)dKna#;M!Ww zZ{GKLfAbxt^uM>sQc!eMiRgJE>@!b-a3%FzJ9jqe<_uDY-yX}AkDTUGn1WE4&BdqY<*VJ zp11yV(B=%s?q~e;V@F_U0Ts$Re;t3Bl%h22W;PnhL{Tx3NK!O~Dhkk62%;$nC>Qbt zQ~^;47m-F{J=y}14<8XojW$E1;3DEUnuRv)oyKI!=;*jv*^ws*iYH|h6sa*mRA$waqIhxirWjqJ#&J%O_}fq>R!Y}e zH?#4NG%fjxio&I*nF81&4`XQ)Q^f6!$IF|TeApxYj(=`q(!{WrK~TxbSlPscmAz;1 zXZJNT8i~qg)~?LDJY5w%>nHYUjo}XzZurO`c1&7<9Ej&sc+7>7Zn!irM9nI+hHSae zwdQvUjdLo#KFtoF${eCe#7_Or@Su~5?mkHej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uuH@HbF``WNw28FHWt zE(2X^Kr*Sj$&*)qMTbTq-AI#d-M9w2z7ET%`5RPI@DH#^%P_V=l$=haNheJ5eJ9o! zrkO}FwNZ!>8|aR0`kXG%@f-L`+?`lL?;7Efx&27iOf_ZYHCyT(bgUaClzT=My>b)J z_`4QxyTNH61Si!aCEoU1<7-6OaSK;D{itJu?ANh{|HDn!D%Fd(e?q$aHikEw=wbs> zX6w;CbByx}8aWWw7PxF2g4V3bwqImm!IhM*}IhAS1qUD9Kl3P<;<6%5J z>X96*mdN5$+RWF~Q^1XMu!u*JBaMfOMX$xmg7rMz54-82jYsvAaD!_buj1{`@w&go xdbV+6`z~HZp{YDlzO$3x(qxsLx0=OBNy02v@IbL{=Vp1~WxigUje0ZG%3terM`Zv2 diff --git a/.vs/uWine/v17/DocumentLayout.backup.json b/.vs/uWine/v17/DocumentLayout.backup.json index 34944ba..1d6b434 100644 --- a/.vs/uWine/v17/DocumentLayout.backup.json +++ b/.vs/uWine/v17/DocumentLayout.backup.json @@ -2,6 +2,14 @@ "Version": 1, "WorkspaceRootPath": "M:\\uv\\uWine\\", "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{8E5D260E-7395-4875-8A4F-16205F92AD38}|uWine.Api\\uWine.Api.csproj|m:\\uv\\uwine\\uwine.api\\controllers\\areacontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{8E5D260E-7395-4875-8A4F-16205F92AD38}|uWine.Api\\uWine.Api.csproj|solutionrelative:uwine.api\\controllers\\areacontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{8E5D260E-7395-4875-8A4F-16205F92AD38}|uWine.Api\\uWine.Api.csproj|m:\\uv\\uwine\\uwine.api\\controllers\\testcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{8E5D260E-7395-4875-8A4F-16205F92AD38}|uWine.Api\\uWine.Api.csproj|solutionrelative:uwine.api\\controllers\\testcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, { "AbsoluteMoniker": "D:0:0:{50360CEE-B38B-4729-ACA3-ABC3ED3538E9}|uWine.Core.Infrastructure\\uWine.Core.Infrastructure.csproj|m:\\uv\\uwine\\uwine.core.infrastructure\\services\\coordinatesservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{50360CEE-B38B-4729-ACA3-ABC3ED3538E9}|uWine.Core.Infrastructure\\uWine.Core.Infrastructure.csproj|solutionrelative:uwine.core.infrastructure\\services\\coordinatesservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" @@ -42,10 +50,6 @@ "AbsoluteMoniker": "D:0:0:{1DCFCDC3-C4A6-4864-8868-94AAB81C3DBA}|uWine.Core.Domain\\uWine.Core.Domain.csproj|m:\\uv\\uwine\\uwine.core.domain\\entities\\contact.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{1DCFCDC3-C4A6-4864-8868-94AAB81C3DBA}|uWine.Core.Domain\\uWine.Core.Domain.csproj|solutionrelative:uwine.core.domain\\entities\\contact.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" }, - { - "AbsoluteMoniker": "D:0:0:{8E5D260E-7395-4875-8A4F-16205F92AD38}|uWine.Api\\uWine.Api.csproj|m:\\uv\\uwine\\uwine.api\\controllers\\testcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{8E5D260E-7395-4875-8A4F-16205F92AD38}|uWine.Api\\uWine.Api.csproj|solutionrelative:uwine.api\\controllers\\testcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, { "AbsoluteMoniker": "D:0:0:{50360CEE-B38B-4729-ACA3-ABC3ED3538E9}|uWine.Core.Infrastructure\\uWine.Core.Infrastructure.csproj|m:\\uv\\uwine\\uwine.core.infrastructure\\repository\\mariadbserverrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{50360CEE-B38B-4729-ACA3-ABC3ED3538E9}|uWine.Core.Infrastructure\\uWine.Core.Infrastructure.csproj|solutionrelative:uwine.core.infrastructure\\repository\\mariadbserverrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" @@ -154,7 +158,7 @@ "Children": [ { "$type": "Document", - "DocumentIndex": 12, + "DocumentIndex": 13, "Title": "UserController.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Api\\Controllers\\UserController.cs", "RelativeDocumentMoniker": "uWine.Api\\Controllers\\UserController.cs", @@ -169,19 +173,32 @@ { "$type": "Document", "DocumentIndex": 0, + "Title": "AreaController.cs", + "DocumentMoniker": "M:\\uv\\uWine\\uWine.Api\\Controllers\\AreaController.cs", + "RelativeDocumentMoniker": "uWine.Api\\Controllers\\AreaController.cs", + "ToolTip": "M:\\uv\\uWine\\uWine.Api\\Controllers\\AreaController.cs", + "RelativeToolTip": "uWine.Api\\Controllers\\AreaController.cs", + "ViewState": "AgIAABEAAAAAAAAAAAAwwBkAAAAPAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-07-10T19:57:28.881Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 2, "Title": "CoordinatesService.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Services\\CoordinatesService.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Services\\CoordinatesService.cs", "ToolTip": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Services\\CoordinatesService.cs", "RelativeToolTip": "uWine.Core.Infrastructure\\Services\\CoordinatesService.cs", - "ViewState": "AgIAABcAAAAAAAAAAAAkwCAAAAAMAAAAAAAAAA==", + "ViewState": "AgIAABoAAAAAAAAAAAAQwCUAAABCAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2025-07-10T19:40:24.68Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 2, + "DocumentIndex": 4, "Title": "CoordinatesHelper.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Helpers\\CoordinatesHelper.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Helpers\\CoordinatesHelper.cs", @@ -194,7 +211,7 @@ }, { "$type": "Document", - "DocumentIndex": 5, + "DocumentIndex": 7, "Title": "Coordinates.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\Coordinates.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\Coordinates.cs", @@ -207,7 +224,7 @@ }, { "$type": "Document", - "DocumentIndex": 1, + "DocumentIndex": 3, "Title": "MariaDbVineyardRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Repository\\MariaDbVineyardRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Repository\\MariaDbVineyardRepository.cs", @@ -220,7 +237,7 @@ }, { "$type": "Document", - "DocumentIndex": 11, + "DocumentIndex": 12, "Title": "MariaDbServerRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Repository\\MariaDbServerRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Repository\\MariaDbServerRepository.cs", @@ -261,7 +278,7 @@ }, { "$type": "Document", - "DocumentIndex": 34, + "DocumentIndex": 35, "Title": "IOwnerRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Repositories\\IOwnerRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Repositories\\IOwnerRepository.cs", @@ -274,7 +291,7 @@ }, { "$type": "Document", - "DocumentIndex": 14, + "DocumentIndex": 15, "Title": "UserService.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Services\\UserService.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Services\\UserService.cs", @@ -287,7 +304,7 @@ }, { "$type": "Document", - "DocumentIndex": 17, + "DocumentIndex": 18, "Title": "IUserRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Repositories\\IUserRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Repositories\\IUserRepository.cs", @@ -300,7 +317,7 @@ }, { "$type": "Document", - "DocumentIndex": 16, + "DocumentIndex": 17, "Title": "MariaDbUserRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Repository\\MariaDbUserRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Repository\\MariaDbUserRepository.cs", @@ -313,7 +330,7 @@ }, { "$type": "Document", - "DocumentIndex": 21, + "DocumentIndex": 22, "Title": "Role.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\Role.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\Role.cs", @@ -326,7 +343,7 @@ }, { "$type": "Document", - "DocumentIndex": 6, + "DocumentIndex": 8, "Title": "User.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\User.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\User.cs", @@ -339,20 +356,20 @@ }, { "$type": "Document", - "DocumentIndex": 10, + "DocumentIndex": 1, "Title": "TestController.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Api\\Controllers\\TestController.cs", "RelativeDocumentMoniker": "uWine.Api\\Controllers\\TestController.cs", "ToolTip": "M:\\uv\\uWine\\uWine.Api\\Controllers\\TestController.cs", "RelativeToolTip": "uWine.Api\\Controllers\\TestController.cs", - "ViewState": "AgIAAAYAAAAAAAAAAAAAACAAAABHAAAAAAAAAA==", + "ViewState": "AgIAAAYAAAAAAAAAAAAAAAoAAAA3AAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2025-07-09T14:20:34.76Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 7, + "DocumentIndex": 9, "Title": "Owner.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\Owner.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\Owner.cs", @@ -365,7 +382,7 @@ }, { "$type": "Document", - "DocumentIndex": 15, + "DocumentIndex": 16, "Title": "Program.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Api\\Program.cs", "RelativeDocumentMoniker": "uWine.Api\\Program.cs", @@ -378,7 +395,7 @@ }, { "$type": "Document", - "DocumentIndex": 20, + "DocumentIndex": 21, "Title": "appsettings.json", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Api\\appsettings.json", "RelativeDocumentMoniker": "uWine.Api\\appsettings.json", @@ -391,7 +408,7 @@ }, { "$type": "Document", - "DocumentIndex": 22, + "DocumentIndex": 23, "Title": "IAuthenticationRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Repositories\\IAuthenticationRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Repositories\\IAuthenticationRepository.cs", @@ -404,7 +421,7 @@ }, { "$type": "Document", - "DocumentIndex": 19, + "DocumentIndex": 20, "Title": "MariaDbAuthenticationRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Repository\\MariaDbAuthenticationRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Repository\\MariaDbAuthenticationRepository.cs", @@ -417,7 +434,7 @@ }, { "$type": "Document", - "DocumentIndex": 18, + "DocumentIndex": 19, "Title": "AuthenticationService.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Services\\AuthenticationService.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Services\\AuthenticationService.cs", @@ -430,7 +447,7 @@ }, { "$type": "Document", - "DocumentIndex": 3, + "DocumentIndex": 5, "Title": "OwnerService.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Services\\OwnerService.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Services\\OwnerService.cs", @@ -443,7 +460,7 @@ }, { "$type": "Document", - "DocumentIndex": 28, + "DocumentIndex": 29, "Title": "IContactRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Repositories\\IContactRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Repositories\\IContactRepository.cs", @@ -456,7 +473,7 @@ }, { "$type": "Document", - "DocumentIndex": 27, + "DocumentIndex": 28, "Title": "ContactType.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\ContactType.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\ContactType.cs", @@ -469,7 +486,7 @@ }, { "$type": "Document", - "DocumentIndex": 9, + "DocumentIndex": 11, "Title": "Contact.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\Contact.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\Contact.cs", @@ -482,7 +499,7 @@ }, { "$type": "Document", - "DocumentIndex": 26, + "DocumentIndex": 27, "Title": "MariaDbContactRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Repository\\MariaDbContactRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Repository\\MariaDbContactRepository.cs", @@ -495,7 +512,7 @@ }, { "$type": "Document", - "DocumentIndex": 29, + "DocumentIndex": 30, "Title": "IAddressRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Repositories\\IAddressRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Repositories\\IAddressRepository.cs", @@ -508,7 +525,7 @@ }, { "$type": "Document", - "DocumentIndex": 8, + "DocumentIndex": 10, "Title": "Address.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\Address.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\Address.cs", @@ -521,7 +538,7 @@ }, { "$type": "Document", - "DocumentIndex": 13, + "DocumentIndex": 14, "Title": "MariaDbAddressRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Repository\\MariaDbAddressRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Repository\\MariaDbAddressRepository.cs", @@ -534,7 +551,7 @@ }, { "$type": "Document", - "DocumentIndex": 30, + "DocumentIndex": 31, "Title": "RowWork.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\RowWork.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\RowWork.cs", @@ -547,7 +564,7 @@ }, { "$type": "Document", - "DocumentIndex": 32, + "DocumentIndex": 33, "Title": "WarehouseProduct.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\WarehouseProduct.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\WarehouseProduct.cs", @@ -560,7 +577,7 @@ }, { "$type": "Document", - "DocumentIndex": 31, + "DocumentIndex": 32, "Title": "ProductUsage.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\ProductUsage.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\ProductUsage.cs", @@ -573,7 +590,7 @@ }, { "$type": "Document", - "DocumentIndex": 25, + "DocumentIndex": 26, "Title": "Worker.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\Worker.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\Worker.cs", @@ -586,7 +603,7 @@ }, { "$type": "Document", - "DocumentIndex": 24, + "DocumentIndex": 25, "Title": "PlantVariety.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\PlantVariety.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\PlantVariety.cs", @@ -599,7 +616,7 @@ }, { "$type": "Document", - "DocumentIndex": 23, + "DocumentIndex": 24, "Title": "VinePlant.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\VinePlant.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\VinePlant.cs", @@ -612,7 +629,7 @@ }, { "$type": "Document", - "DocumentIndex": 4, + "DocumentIndex": 6, "Title": "Vineyard.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\Vineyard.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\Vineyard.cs", @@ -625,7 +642,7 @@ }, { "$type": "Document", - "DocumentIndex": 33, + "DocumentIndex": 34, "Title": "Row.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\Row.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\Row.cs", diff --git a/.vs/uWine/v17/DocumentLayout.json b/.vs/uWine/v17/DocumentLayout.json index 34944ba..32c8b39 100644 --- a/.vs/uWine/v17/DocumentLayout.json +++ b/.vs/uWine/v17/DocumentLayout.json @@ -2,6 +2,14 @@ "Version": 1, "WorkspaceRootPath": "M:\\uv\\uWine\\", "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{8E5D260E-7395-4875-8A4F-16205F92AD38}|uWine.Api\\uWine.Api.csproj|m:\\uv\\uwine\\uwine.api\\controllers\\areacontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{8E5D260E-7395-4875-8A4F-16205F92AD38}|uWine.Api\\uWine.Api.csproj|solutionrelative:uwine.api\\controllers\\areacontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{8E5D260E-7395-4875-8A4F-16205F92AD38}|uWine.Api\\uWine.Api.csproj|m:\\uv\\uwine\\uwine.api\\controllers\\testcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{8E5D260E-7395-4875-8A4F-16205F92AD38}|uWine.Api\\uWine.Api.csproj|solutionrelative:uwine.api\\controllers\\testcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, { "AbsoluteMoniker": "D:0:0:{50360CEE-B38B-4729-ACA3-ABC3ED3538E9}|uWine.Core.Infrastructure\\uWine.Core.Infrastructure.csproj|m:\\uv\\uwine\\uwine.core.infrastructure\\services\\coordinatesservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{50360CEE-B38B-4729-ACA3-ABC3ED3538E9}|uWine.Core.Infrastructure\\uWine.Core.Infrastructure.csproj|solutionrelative:uwine.core.infrastructure\\services\\coordinatesservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" @@ -42,10 +50,6 @@ "AbsoluteMoniker": "D:0:0:{1DCFCDC3-C4A6-4864-8868-94AAB81C3DBA}|uWine.Core.Domain\\uWine.Core.Domain.csproj|m:\\uv\\uwine\\uwine.core.domain\\entities\\contact.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{1DCFCDC3-C4A6-4864-8868-94AAB81C3DBA}|uWine.Core.Domain\\uWine.Core.Domain.csproj|solutionrelative:uwine.core.domain\\entities\\contact.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" }, - { - "AbsoluteMoniker": "D:0:0:{8E5D260E-7395-4875-8A4F-16205F92AD38}|uWine.Api\\uWine.Api.csproj|m:\\uv\\uwine\\uwine.api\\controllers\\testcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{8E5D260E-7395-4875-8A4F-16205F92AD38}|uWine.Api\\uWine.Api.csproj|solutionrelative:uwine.api\\controllers\\testcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, { "AbsoluteMoniker": "D:0:0:{50360CEE-B38B-4729-ACA3-ABC3ED3538E9}|uWine.Core.Infrastructure\\uWine.Core.Infrastructure.csproj|m:\\uv\\uwine\\uwine.core.infrastructure\\repository\\mariadbserverrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{50360CEE-B38B-4729-ACA3-ABC3ED3538E9}|uWine.Core.Infrastructure\\uWine.Core.Infrastructure.csproj|solutionrelative:uwine.core.infrastructure\\repository\\mariadbserverrepository.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" @@ -154,7 +158,7 @@ "Children": [ { "$type": "Document", - "DocumentIndex": 12, + "DocumentIndex": 13, "Title": "UserController.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Api\\Controllers\\UserController.cs", "RelativeDocumentMoniker": "uWine.Api\\Controllers\\UserController.cs", @@ -169,19 +173,32 @@ { "$type": "Document", "DocumentIndex": 0, + "Title": "AreaController.cs", + "DocumentMoniker": "M:\\uv\\uWine\\uWine.Api\\Controllers\\AreaController.cs", + "RelativeDocumentMoniker": "uWine.Api\\Controllers\\AreaController.cs", + "ToolTip": "M:\\uv\\uWine\\uWine.Api\\Controllers\\AreaController.cs", + "RelativeToolTip": "uWine.Api\\Controllers\\AreaController.cs", + "ViewState": "AgIAAAkAAAAAAAAAAAAswBMAAAAXAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-07-10T19:57:28.881Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 2, "Title": "CoordinatesService.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Services\\CoordinatesService.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Services\\CoordinatesService.cs", "ToolTip": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Services\\CoordinatesService.cs", "RelativeToolTip": "uWine.Core.Infrastructure\\Services\\CoordinatesService.cs", - "ViewState": "AgIAABcAAAAAAAAAAAAkwCAAAAAMAAAAAAAAAA==", + "ViewState": "AgIAABoAAAAAAAAAAAAQwCUAAABCAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2025-07-10T19:40:24.68Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 2, + "DocumentIndex": 4, "Title": "CoordinatesHelper.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Helpers\\CoordinatesHelper.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Helpers\\CoordinatesHelper.cs", @@ -194,7 +211,7 @@ }, { "$type": "Document", - "DocumentIndex": 5, + "DocumentIndex": 7, "Title": "Coordinates.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\Coordinates.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\Coordinates.cs", @@ -207,7 +224,7 @@ }, { "$type": "Document", - "DocumentIndex": 1, + "DocumentIndex": 3, "Title": "MariaDbVineyardRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Repository\\MariaDbVineyardRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Repository\\MariaDbVineyardRepository.cs", @@ -220,7 +237,7 @@ }, { "$type": "Document", - "DocumentIndex": 11, + "DocumentIndex": 12, "Title": "MariaDbServerRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Repository\\MariaDbServerRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Repository\\MariaDbServerRepository.cs", @@ -261,7 +278,7 @@ }, { "$type": "Document", - "DocumentIndex": 34, + "DocumentIndex": 35, "Title": "IOwnerRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Repositories\\IOwnerRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Repositories\\IOwnerRepository.cs", @@ -274,7 +291,7 @@ }, { "$type": "Document", - "DocumentIndex": 14, + "DocumentIndex": 15, "Title": "UserService.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Services\\UserService.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Services\\UserService.cs", @@ -287,7 +304,7 @@ }, { "$type": "Document", - "DocumentIndex": 17, + "DocumentIndex": 18, "Title": "IUserRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Repositories\\IUserRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Repositories\\IUserRepository.cs", @@ -300,7 +317,7 @@ }, { "$type": "Document", - "DocumentIndex": 16, + "DocumentIndex": 17, "Title": "MariaDbUserRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Repository\\MariaDbUserRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Repository\\MariaDbUserRepository.cs", @@ -313,7 +330,7 @@ }, { "$type": "Document", - "DocumentIndex": 21, + "DocumentIndex": 22, "Title": "Role.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\Role.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\Role.cs", @@ -326,7 +343,7 @@ }, { "$type": "Document", - "DocumentIndex": 6, + "DocumentIndex": 8, "Title": "User.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\User.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\User.cs", @@ -339,20 +356,20 @@ }, { "$type": "Document", - "DocumentIndex": 10, + "DocumentIndex": 1, "Title": "TestController.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Api\\Controllers\\TestController.cs", "RelativeDocumentMoniker": "uWine.Api\\Controllers\\TestController.cs", "ToolTip": "M:\\uv\\uWine\\uWine.Api\\Controllers\\TestController.cs", "RelativeToolTip": "uWine.Api\\Controllers\\TestController.cs", - "ViewState": "AgIAAAYAAAAAAAAAAAAAACAAAABHAAAAAAAAAA==", + "ViewState": "AgIAAAYAAAAAAAAAAAAAAAoAAAA3AAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2025-07-09T14:20:34.76Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 7, + "DocumentIndex": 9, "Title": "Owner.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\Owner.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\Owner.cs", @@ -365,7 +382,7 @@ }, { "$type": "Document", - "DocumentIndex": 15, + "DocumentIndex": 16, "Title": "Program.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Api\\Program.cs", "RelativeDocumentMoniker": "uWine.Api\\Program.cs", @@ -378,7 +395,7 @@ }, { "$type": "Document", - "DocumentIndex": 20, + "DocumentIndex": 21, "Title": "appsettings.json", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Api\\appsettings.json", "RelativeDocumentMoniker": "uWine.Api\\appsettings.json", @@ -391,7 +408,7 @@ }, { "$type": "Document", - "DocumentIndex": 22, + "DocumentIndex": 23, "Title": "IAuthenticationRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Repositories\\IAuthenticationRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Repositories\\IAuthenticationRepository.cs", @@ -404,7 +421,7 @@ }, { "$type": "Document", - "DocumentIndex": 19, + "DocumentIndex": 20, "Title": "MariaDbAuthenticationRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Repository\\MariaDbAuthenticationRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Repository\\MariaDbAuthenticationRepository.cs", @@ -417,7 +434,7 @@ }, { "$type": "Document", - "DocumentIndex": 18, + "DocumentIndex": 19, "Title": "AuthenticationService.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Services\\AuthenticationService.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Services\\AuthenticationService.cs", @@ -430,7 +447,7 @@ }, { "$type": "Document", - "DocumentIndex": 3, + "DocumentIndex": 5, "Title": "OwnerService.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Services\\OwnerService.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Services\\OwnerService.cs", @@ -443,7 +460,7 @@ }, { "$type": "Document", - "DocumentIndex": 28, + "DocumentIndex": 29, "Title": "IContactRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Repositories\\IContactRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Repositories\\IContactRepository.cs", @@ -456,7 +473,7 @@ }, { "$type": "Document", - "DocumentIndex": 27, + "DocumentIndex": 28, "Title": "ContactType.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\ContactType.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\ContactType.cs", @@ -469,7 +486,7 @@ }, { "$type": "Document", - "DocumentIndex": 9, + "DocumentIndex": 11, "Title": "Contact.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\Contact.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\Contact.cs", @@ -482,7 +499,7 @@ }, { "$type": "Document", - "DocumentIndex": 26, + "DocumentIndex": 27, "Title": "MariaDbContactRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Repository\\MariaDbContactRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Repository\\MariaDbContactRepository.cs", @@ -495,7 +512,7 @@ }, { "$type": "Document", - "DocumentIndex": 29, + "DocumentIndex": 30, "Title": "IAddressRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Repositories\\IAddressRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Repositories\\IAddressRepository.cs", @@ -508,7 +525,7 @@ }, { "$type": "Document", - "DocumentIndex": 8, + "DocumentIndex": 10, "Title": "Address.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\Address.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\Address.cs", @@ -521,7 +538,7 @@ }, { "$type": "Document", - "DocumentIndex": 13, + "DocumentIndex": 14, "Title": "MariaDbAddressRepository.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Infrastructure\\Repository\\MariaDbAddressRepository.cs", "RelativeDocumentMoniker": "uWine.Core.Infrastructure\\Repository\\MariaDbAddressRepository.cs", @@ -534,7 +551,7 @@ }, { "$type": "Document", - "DocumentIndex": 30, + "DocumentIndex": 31, "Title": "RowWork.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\RowWork.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\RowWork.cs", @@ -547,7 +564,7 @@ }, { "$type": "Document", - "DocumentIndex": 32, + "DocumentIndex": 33, "Title": "WarehouseProduct.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\WarehouseProduct.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\WarehouseProduct.cs", @@ -560,7 +577,7 @@ }, { "$type": "Document", - "DocumentIndex": 31, + "DocumentIndex": 32, "Title": "ProductUsage.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\ProductUsage.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\ProductUsage.cs", @@ -573,7 +590,7 @@ }, { "$type": "Document", - "DocumentIndex": 25, + "DocumentIndex": 26, "Title": "Worker.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\Worker.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\Worker.cs", @@ -586,7 +603,7 @@ }, { "$type": "Document", - "DocumentIndex": 24, + "DocumentIndex": 25, "Title": "PlantVariety.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\PlantVariety.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\PlantVariety.cs", @@ -599,7 +616,7 @@ }, { "$type": "Document", - "DocumentIndex": 23, + "DocumentIndex": 24, "Title": "VinePlant.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\VinePlant.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\VinePlant.cs", @@ -612,7 +629,7 @@ }, { "$type": "Document", - "DocumentIndex": 4, + "DocumentIndex": 6, "Title": "Vineyard.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\Vineyard.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\Vineyard.cs", @@ -625,7 +642,7 @@ }, { "$type": "Document", - "DocumentIndex": 33, + "DocumentIndex": 34, "Title": "Row.cs", "DocumentMoniker": "M:\\uv\\uWine\\uWine.Core.Domain\\Entities\\Row.cs", "RelativeDocumentMoniker": "uWine.Core.Domain\\Entities\\Row.cs", diff --git a/uWine.Api/Controllers/AreaController.cs b/uWine.Api/Controllers/AreaController.cs new file mode 100644 index 0000000..0145a22 --- /dev/null +++ b/uWine.Api/Controllers/AreaController.cs @@ -0,0 +1,37 @@ +using Microsoft.AspNetCore.Mvc; +using uWine.Core.Domain.Entities; +using uWine.Core.Infrastructure.Services; + +namespace uWine.Api.Controllers +{ + [ApiController] + [Route("/[controller]")] + public class AreaController : Controller + { + private readonly IConfiguration _configuration; + private readonly CoordinatesService _coordinatesService; + + public AreaController(IConfiguration configuration, CoordinatesService coordinatesService) + { + _configuration = configuration; + _coordinatesService = coordinatesService; + } + + [HttpPost("save-area")] + public IActionResult SaveArea([FromBody] Dictionary coordinates, int vineyardId) + { + if (coordinates == null) + return BadRequest("Invalid coordinates"); + + try + { + _coordinatesService.SaveArea(vineyardId ,coordinates); + return Ok(new { status = "Area set successfully" }); + } + catch (Exception ex) + { + return StatusCode(500, new { error = ex.Message }); + } + } + } +} diff --git a/uWine.Core.Infrastructure/Services/CoordinatesService.cs b/uWine.Core.Infrastructure/Services/CoordinatesService.cs index a1b1d25..09b54ea 100644 --- a/uWine.Core.Infrastructure/Services/CoordinatesService.cs +++ b/uWine.Core.Infrastructure/Services/CoordinatesService.cs @@ -17,20 +17,25 @@ namespace uWine.Core.Infrastructure.Services _vineyardRepository = vineyardRepository; } - public async Task GetCoordinatesAsync(int vineyardId) - { - var vineyard = await _vineyardRepository.GetVineyardByIdAsync(vineyardId); - if (vineyard == null) - { - throw new ArgumentException("Vineyard not found"); - } + //public async Task GetCoordinatesAsync(int vineyardId) + //{ + // var vineyard = await _vineyardRepository.GetVineyardByIdAsync(vineyardId); + // if (vineyard == null) + // { + // throw new ArgumentException("Vineyard not found"); + // } - return new Coordinates(vineyard.Latitude, vineyard.Longitude); - } + // return new Coordinates(vineyard.Latitude, vineyard.Longitude); + //} public async Task> VineyardCoordinates(int vineyardId) { } + + public void SaveArea(int vineyardId, Dictionary coordinates) + { + _vineyardRepository.InsertArea(coordinates, vineyardId); + } } }