This commit is contained in:
2026-09-14 08:52:52 +02:00
parent d1e210d03e
commit c62aa67220
9 changed files with 143 additions and 20 deletions
@@ -0,0 +1,22 @@
package handlers
import (
"net/http"
"xcpq_editor/internal/models"
"github.com/gin-gonic/gin"
)
func ImportHandler_PropertyTypesGroup(ctx *gin.Context) {
// Handle the import request here
var importData []models.Property_Types_Group
if err := ctx.ShouldBindJSON(&importData); err != nil {
ctx.JSON(http.StatusBadRequest, gin.H{"error": err.Error()})
return
}
ctx.JSON(http.StatusOK, gin.H{
"message": "Import successful",
})
}