PIbd-23_Yakobchuk_S.V._SUBD/ConstructionCompany/ConstructionCompanyContracts/StoragesContracts/ICustomerStorage.cs

18 lines
640 B
C#

using ConstructionCompanyContracts.BindingModels;
using ConstructionCompanyContracts.SearchModels;
using ConstructionCompanyContracts.ViewModels;
namespace ConstructionCompanyContracts.StoragesContracts
{
public interface ICustomerStorage
{
List<CustomerViewModel> GetFullList();
List<CustomerViewModel> GetFilteredList(CustomerSearchModel model);
CustomerViewModel? GetElement(CustomerSearchModel model);
CustomerViewModel? Insert(CustomerBindingModel model);
CustomerViewModel? Update(CustomerBindingModel model);
CustomerViewModel? Delete(CustomerBindingModel model);
}
}