23 lines
737 B
C#
23 lines
737 B
C#
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);
|
|
|
|
EmployeeViewModel? GetElement(ClientSearchModel model);
|
|
EmployeeViewModel? Insert(EmployeeBindingModel model);
|
|
EmployeeViewModel? Update(EmployeeBindingModel model);
|
|
EmployeeViewModel? Delete(EmployeeBindingModel model);
|
|
}
|
|
}
|