14 lines
384 B
C#
14 lines
384 B
C#
|
using System.Collections.Generic;
|
|||
|
using YourNamespace.Entities;
|
|||
|
|
|||
|
namespace YourNamespace.Repositories
|
|||
|
{
|
|||
|
public interface IEmployeeRepository
|
|||
|
{
|
|||
|
IEnumerable<Employee> ReadEmployees();
|
|||
|
Employee ReadEmployeeById(int id);
|
|||
|
void CreateEmployee(Employee employee);
|
|||
|
void UpdateEmployee(Employee employee);
|
|||
|
void DeleteEmployee(int id);
|
|||
|
}
|
|||
|
}
|