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

16 lines
467 B
C#
Raw Normal View History

using CarServiceContracts.BindingModels;
using CarServiceContracts.SearchModels;
using CarServiceContracts.ViewModels;
namespace CarServiceContracts.BusinessLogicsContracts
{
public interface IVehicleLogic
{
List<VehicleViewModel>? ReadList(VehicleSearchModel? model);
VehicleViewModel? ReadElement(VehicleSearchModel model);
bool Create(VehicleBindingModel model);
bool Update(VehicleBindingModel model);
bool Delete(VehicleBindingModel model);
}
}