@@ -0,0 +1,794 @@
+package gp.e3.sentinel.domain.repositories;%0A%0Aimport java.sql.Connection;%0Aimport java.util.List;%0A%0Aimport gp.e3.sentinel.domain.entities.User;%0Aimport gp.e3.sentinel.persistence.daos.UserDAO;%0A%0Apublic class UserRepository %7B%0A%09%0A%09private final UserDAO userDAO;%0A%0A%09public UserRepository(UserDAO userDAO) %7B%0A%09%09%0A%09%09this.userDAO = userDAO;%0A%09%7D%0A%09%0A%09public boolean createUser(Connection dbConnection, User user) %7B%0A%09%09%0A%09%09int affectedRows = userDAO.createUser(dbConnection, user);%0A%09%09return (affectedRows == 1);%0A%09%7D%0A%09%0A%09public User getUserByMail(Connection dbConnection, String mail) %7B%0A%09%09%0A%09%09return userDAO.getUserByMail(dbConnection, mail);%0A%09%7D%0A%09%0A%09public List%3CUser%3E getAllUsersSubscribedToASystem(Connection dbConnection, long systemId) %7B%0A%09%09%0A%09%09return userDAO.getAllUsersSubscribedToASystem(dbConnection, systemId);%0A%09%7D%0A%7D

Add UserRepository class.