2023-05-14 14:39:25 +04:00
|
|
|
|
using RouteGuideContracts.BindingModels;
|
|
|
|
|
using RouteGuideContracts.SearchModels;
|
|
|
|
|
using RouteGuideContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace RouteGuideContracts.BusinessLogicContracts
|
|
|
|
|
{
|
|
|
|
|
public interface ITransportLogic
|
|
|
|
|
{
|
|
|
|
|
List<TransportViewModel>? ReadList(TransportSearchModel? model);
|
|
|
|
|
|
2023-05-18 19:59:20 +04:00
|
|
|
|
TransportViewModel? ReadElement(TransportSearchModel model);
|
2023-05-14 14:39:25 +04:00
|
|
|
|
|
|
|
|
|
bool Create(TransportBindingModel model);
|
|
|
|
|
bool Update(TransportBindingModel model);
|
|
|
|
|
bool Delete(TransportBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|