Dao object moved from dao packege to package by component in service folder
[portal.git] / portal-BE / src / main / java / org / onap / portal / service / persUserAppSort / EpPersUserAppSortService.java
diff --git a/portal-BE/src/main/java/org/onap/portal/service/persUserAppSort/EpPersUserAppSortService.java b/portal-BE/src/main/java/org/onap/portal/service/persUserAppSort/EpPersUserAppSortService.java
new file mode 100644 (file)
index 0000000..05d32e6
--- /dev/null
@@ -0,0 +1,20 @@
+package org.onap.portal.service.persUserAppSort;
+
+import org.onap.portal.domain.db.ep.EpPersUserAppSort;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+@Service
+public class EpPersUserAppSortService {
+
+    private final EpPersUserAppSortDao epPersUserAppSortDao;
+
+    @Autowired
+    public EpPersUserAppSortService(EpPersUserAppSortDao epPersUserAppSortDao) {
+        this.epPersUserAppSortDao = epPersUserAppSortDao;
+    }
+
+    public EpPersUserAppSort save(EpPersUserAppSort appSort) {
+        return epPersUserAppSortDao.save(appSort);
+    }
+}