PIbd-22_Bondarenko_M.S_SUBD/PersonnelDepartmentView/PersonnelDepartmentContracts/StoragesContracts/IDepartmentStorage.cs

22 lines
734 B
C#
Raw Normal View History

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 IDepartmentStorage
{
List<DepartmentViewModel> GetFullList();
List<DepartmentViewModel> GetFilteredList(DepartmentSearchModel model);
DepartmentViewModel? GetElement(DepartmentSearchModel model);
2023-05-01 22:55:10 +04:00
DepartmentViewModel? Insert(DepartmentBindingModel model);
DepartmentViewModel? Update(DepartmentBindingModel model);
DepartmentViewModel? Delete(DepartmentBindingModel model);
2023-05-01 19:49:49 +04:00
}
}