SUBD_Labs/BeauySalonContracts/StoragesContracts/IMasterStorage.cs

19 lines
657 B
C#

using BeautySalonContracts.BindingModels;
using BeautySalonContracts.SearchModels;
using BeautySalonContracts.ViewModels;
namespace BeautySalonContracts.StoragesContracts
{
public interface IMasterStorage
{
List<MasterViewModel> GetFullList();
List<MasterViewModel> GetFilteredList(MasterSearchModel model);
MasterViewModel? GetElement(MasterSearchModel model);
MasterViewModel? Insert(MasterBindingModel model);
MasterViewModel? Update(MasterBindingModel model);
MasterViewModel? Delete(MasterBindingModel model);
string TestInsertList(int v);
string TestReadList(int v);
}
}