Coursach/Course/Contracts/StoragesContracts/IMachineStorage.cs
2024-04-27 12:35:20 +04:00

17 lines
506 B
C#

using Contracts.BindingModels;
using Contracts.SearchModels;
using Contracts.ViewModels;
namespace Contracts.StoragesContracts
{
public interface IMachineStorage
{
List<MachineViewModel> GetFullList();
List<MachineViewModel> GetFilteredList(MachineSearchModel model);
MachineViewModel? GetElement(MachineSearchModel model);
MachineViewModel? Insert(MachineBindingModel model);
MachineViewModel? Update(MachineBindingModel model);
MachineViewModel? Delete(MachineBindingModel model);
}
}