SUBD_Labs/BeauySalonContracts/StoragesContracts/IMasterStorage.cs

17 lines
583 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);
}
}