Merge "InvalidRoleException-junits"
[portal.git] / portal-BE / src / main / java / org / onap / portal / service / menu / FnMenuService.java
1 package org.onap.portal.service.menu;
2
3 import org.onap.portal.domain.db.fn.FnMenu;
4 import org.springframework.beans.factory.annotation.Autowired;
5 import org.springframework.stereotype.Service;
6
7 import java.util.List;
8
9 @Service
10 public class FnMenuService {
11
12     private final FnMenuDao fnMenuDao;
13
14     @Autowired
15     public FnMenuService(FnMenuDao fnMenuDao) {
16         this.fnMenuDao = fnMenuDao;
17     }
18
19     public List<FnMenu> saveAll(List<FnMenu> fnMenus) {
20         return fnMenuDao.saveAll(fnMenus);
21     }
22 }