ISEbd-21_Melnikov_I.O._CarS.../CarService/CarServiceContracts/BusinessLogicsContracts/IItemLogic.cs

16 lines
443 B
C#

using CarServiceContracts.BindingModels;
using CarServiceContracts.SearchModels;
using CarServiceContracts.ViewModels;
namespace CarServiceContracts.BusinessLogicsContracts
{
public interface IItemLogic
{
List<ItemViewModel>? ReadList(ItemSearchModel? model);
ItemViewModel? ReadElement(ItemSearchModel model);
bool Create(ItemBindingModel model);
bool Update(ItemBindingModel model);
bool Delete(ItemBindingModel model);
}
}