PIbd-23_Starostin_I.K._Cour.../STOContracts/BusinessLogicContracts/ICarLogic.cs

16 lines
461 B
C#
Raw Normal View History

using STOContracts.BindingModels;
using STOContracts.SearchModels;
using STOContracts.ViewModels;
namespace STOContracts.BusinessLogicsContracts
{
public interface ICarLogic
{
List<CarViewModel>? ReadList(CarSearchModel? model);
CarViewModel? ReadElement(CarSearchModel model);
bool Create(CarBindingModel model);
bool Update(CarBindingModel model);
bool Delete(CarBindingModel model);
}
}