CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/StorageContracts/IEmployeeStorage.cs

23 lines
739 B
C#
Raw Permalink Normal View History

2024-05-22 23:00:35 +04:00
using ElectronicsShopContracts.BindingModels;
using ElectronicsShopContracts.SearchModels;
using ElectronicsShopContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicsShopContracts.StorageContracts
{
public interface IEmployeeStorage
{
List<EmployeeViewModel> GetFullList();
List<EmployeeViewModel> GetFilteredList(EmployeeSearchModel model);
2024-05-25 13:06:38 +04:00
EmployeeViewModel? GetElement(EmployeeSearchModel model);
2024-05-22 23:00:35 +04:00
EmployeeViewModel? Insert(EmployeeBindingModel model);
EmployeeViewModel? Update(EmployeeBindingModel model);
EmployeeViewModel? Delete(EmployeeBindingModel model);
}
}