18 lines
435 B
C#
18 lines
435 B
C#
using ProjectAirline.Entities;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ProjectAirline.Repositories;
|
|
|
|
public interface IEmployeeRepository
|
|
{
|
|
IEnumerable<Employee> ReadEmployees();
|
|
Employee ReadEmployeeById(int id);
|
|
void CreateEmployee(Employee employee);
|
|
void UpdateEmployee(Employee employee);
|
|
void DeleteEmployee(int id);
|
|
}
|