using ComputerHardwareStoreContracts.BindingModels;
using ComputerHardwareStoreContracts.SearchModels;
using ComputerHardwareStoreContracts.ViewModels;

namespace ComputerHardwareStoreContracts.BusinessLogicsContracts
{
    public interface IStoreKeeperLogic
    {
        List<StoreKeeperViewModel>? ReadList(StoreKeeperSearchModel? model);
        StoreKeeperViewModel? ReadElement(StoreKeeperSearchModel model);
        bool Create(StoreKeeperBindingModel model);
        bool Update(StoreKeeperBindingModel model);
        bool Delete(StoreKeeperBindingModel model);
    }
}