Coursach/Course/Contracts/StoragesContracts/IMachineStorage.cs

17 lines
506 B
C#
Raw Normal View History

2024-04-27 12:35:20 +04:00
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);
}
}