PIbd-22_Bondarenko_M.S_SUBD/PersonnelDepartmentView/PersonnelDepartmentContracts/StoragesContracts/IDepartmentStorage.cs
2023-05-01 19:49:49 +04:00

21 lines
681 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 IDepartmentStorage
{
List<DepartmentViewModel> GetFullList();
List<DepartmentViewModel> GetFilteredList(DepartmentSearchModel model);
DepartmentViewModel? GetElement(DepartmentSearchModel model);
DepartmentViewModel? Insert(DepartmentSearchModel model);
DepartmentViewModel? Update(DepartmentSearchModel model);
DepartmentViewModel? Delete(DepartmentSearchModel model);
}
}