2023-04-22 15:12:21 +04:00
|
|
|
|
using Contracts.BindingModels;
|
|
|
|
|
using Contracts.SearchModel;
|
|
|
|
|
using Contracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Contracts.BusinessLogic
|
|
|
|
|
{
|
|
|
|
|
public interface IVoyageLogic
|
|
|
|
|
{
|
|
|
|
|
List<VoyageVM>? ReadList(VoyageSM model);
|
|
|
|
|
VoyageVM? ReadElement(VoyageSM model);
|
2023-05-05 21:47:09 +04:00
|
|
|
|
List<ReportHuman>? GetTopDrivers();
|
2023-04-22 15:12:21 +04:00
|
|
|
|
bool Create(VoyageBM model);
|
2023-05-05 21:47:09 +04:00
|
|
|
|
public List<ReportCompany>? GetCompanysPath();
|
2023-04-22 15:12:21 +04:00
|
|
|
|
bool Delete(VoyageBM model);
|
|
|
|
|
}
|
|
|
|
|
}
|