SUBD_PIbd-23_ZakharovRA/CarShowroom/CarShowroomContracts/StorageContracts/IEmployeeStorage.cs
2024-05-05 22:02:53 +04:00

22 lines
643 B
C#

using CarShowroomDataModels.Dtos;
using CarShowroomDataModels.SearchModel;
using CarShowroomDataModels.Views;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarShowroomContracts.StorageContracts
{
public interface IEmployeeStorage
{
List<EmployeeView> GetFullList();
List<EmployeeView> GetFilteredList(EmployeeSearch model);
EmployeeView? GetElement(EmployeeSearch model);
EmployeeView? Insert(EmployeeDto model);
EmployeeView? Update(EmployeeDto model);
EmployeeView? Delete(EmployeeDto model);
}
}