Created
August 27, 2017 15:04
-
-
Save SakaDream/deae791448b7764d53c2c066111de8c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.sakadream.services; | |
import com.sakadream.models.Employee; | |
import java.util.List; | |
/** | |
* Created by Phan Ba Hai on 25/08/2017. | |
*/ | |
public interface EmployeeService { | |
List<Employee> getAllEmployees(); | |
Employee findById(int id); | |
Employee findByName(String name); | |
Boolean addEmployee(Employee employee); | |
Boolean updateEmployee(int id, Employee employee); | |
Boolean deleteEmployee(int id); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment