Merge "InvalidUserRoleException-junits"
[portal.git] / portal-BE / src / main / java / org / onap / portal / service / basicAuthAccount / EpBasicAuthAccountService.java
1 package org.onap.portal.service.basicAuthAccount;
2
3 import org.onap.portal.domain.db.ep.EpBasicAuthAccount;
4 import org.springframework.beans.factory.annotation.Autowired;
5 import org.springframework.stereotype.Service;
6
7 @Service
8 public class EpBasicAuthAccountService {
9
10     private final EpBasicAuthAccountDao epBasicAuthAccountDao;
11
12     @Autowired
13     public EpBasicAuthAccountService(EpBasicAuthAccountDao epBasicAuthAccountDao) {
14         this.epBasicAuthAccountDao = epBasicAuthAccountDao;
15     }
16
17     public EpBasicAuthAccount save(EpBasicAuthAccount epBasicAuthAccount) {
18         return epBasicAuthAccountDao.save(epBasicAuthAccount);
19     }
20 }