2024-04-24 19:09:02 +04:00
|
|
|
|
using HardwareStoreContracts.BindingModels;
|
2024-04-24 19:08:37 +04:00
|
|
|
|
using ComputerHardwareStoreContracts.SearchModels;
|
|
|
|
|
using ComputerHardwareStoreContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace ComputerHardwareStoreContracts.BusinessLogicsContracts
|
2024-04-24 19:08:06 +04:00
|
|
|
|
{
|
|
|
|
|
public interface IVendorLogic
|
|
|
|
|
{
|
|
|
|
|
List<VendorViewModel>? ReadList(VendorSearchModel? model);
|
|
|
|
|
VendorViewModel? ReadElement(VendorSearchModel model);
|
|
|
|
|
bool Create(VendorBindingModel model);
|
|
|
|
|
bool Update(VendorBindingModel model);
|
|
|
|
|
bool Delete(VendorBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|