2023-05-01 22:55:10 +04:00
|
|
|
|
using PersonnelDepartmentContracts.BindingModels;
|
|
|
|
|
using PersonnelDepartmentContracts.SearchModels;
|
2023-05-01 19:49:49 +04:00
|
|
|
|
using PersonnelDepartmentContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace PersonnelDepartmentContracts.StoragesContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IEmployeeStorage
|
|
|
|
|
{
|
|
|
|
|
List<EmployeeViewModel> GetFullList();
|
|
|
|
|
List<EmployeeViewModel> GetFilteredList(EmployeeSearchModel model);
|
|
|
|
|
EmployeeViewModel? GetElement(EmployeeSearchModel model);
|
2023-05-01 22:55:10 +04:00
|
|
|
|
EmployeeViewModel? Insert(EmployeeBindingModel model);
|
|
|
|
|
EmployeeViewModel? Update(EmployeeBindingModel model);
|
|
|
|
|
EmployeeViewModel? Delete(EmployeeBindingModel model);
|
2023-05-01 19:49:49 +04:00
|
|
|
|
}
|
|
|
|
|
}
|