16 lines
546 B
C#
16 lines
546 B
C#
using TransportCompanyContracts.BindingModels;
|
|
using TransportCompanyContracts.SearchModels;
|
|
using TransportCompanyContracts.ViewModels;
|
|
|
|
namespace TransportCompanyContracts.BusinessLogicsContracts
|
|
{
|
|
public interface ITransportLogic
|
|
{
|
|
List<TransportViewModel>? ReadList(TransportSearchModel? model);
|
|
TransportViewModel? ReadElement(TransportSearchModel model);
|
|
bool Create(TransportBindingModel model);
|
|
bool Update(TransportBindingModel model);
|
|
bool Delete(TransportBindingModel model);
|
|
}
|
|
}
|