21 lines
657 B
C#
21 lines
657 B
C#
using PersonnelDepartmentContracts.SearchModels;
|
|
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);
|
|
EmployeeViewModel? Insert(EmployeeSearchModel model);
|
|
EmployeeViewModel? Update(EmployeeSearchModel model);
|
|
EmployeeViewModel? Delete(EmployeeSearchModel model);
|
|
}
|
|
}
|