16 lines
522 B
C#
16 lines
522 B
C#
using TransportCompanyContracts.BindingModels;
|
|
using TransportCompanyContracts.SearchModels;
|
|
using TransportCompanyContracts.ViewModels;
|
|
|
|
namespace TransportCompanyContracts.BusinessLogicsContracts
|
|
{
|
|
public interface IDriverLogic
|
|
{
|
|
List<DriverViewModel>? ReadList(DriverSearchModel? model);
|
|
DriverViewModel? ReadElement(DriverSearchModel model);
|
|
bool Create(DriverBindingModel model);
|
|
bool Update(DriverBindingModel model);
|
|
bool Delete(DriverBindingModel model);
|
|
}
|
|
}
|