Skip to content

Instantly share code, notes, and snippets.

@SakaDream
Created August 27, 2017 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SakaDream/deae791448b7764d53c2c066111de8c4 to your computer and use it in GitHub Desktop.
Save SakaDream/deae791448b7764d53c2c066111de8c4 to your computer and use it in GitHub Desktop.
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