2023-03-29 23:22:17 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using TransportCompanyContracts.BindingModels;
|
|
|
|
|
using TransportCompanyContracts.SearchModels;
|
|
|
|
|
using TransportCompanyContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace TransportCompanyContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface ITruckingLogic
|
|
|
|
|
{
|
|
|
|
|
List<TruckingViewModel>? ReadList(TruckingSearchModel? model);
|
|
|
|
|
|
2023-04-26 12:51:53 +04:00
|
|
|
|
string? TestReadList();
|
|
|
|
|
|
2023-04-26 23:44:39 +04:00
|
|
|
|
string? TestFirstJoin();
|
|
|
|
|
|
2023-04-26 12:51:53 +04:00
|
|
|
|
TruckingViewModel? ReadElement(TruckingSearchModel model);
|
2023-03-29 23:22:17 +04:00
|
|
|
|
|
|
|
|
|
bool Create(TruckingBindingModel model);
|
|
|
|
|
|
2023-04-26 11:31:32 +04:00
|
|
|
|
string TestRandomCreate(int count, List<ClientViewModel> clients, List<CargoViewModel> cargos, List<TransportViewModel> transports, List<TransportationViewModel> transportations);
|
|
|
|
|
|
|
|
|
|
bool Update(TruckingBindingModel model);
|
2023-03-29 23:22:17 +04:00
|
|
|
|
|
|
|
|
|
bool Delete(TruckingBindingModel model);
|
2023-05-10 14:18:50 +04:00
|
|
|
|
|
|
|
|
|
bool TransferData(List<TruckingViewModel> model);
|
2023-03-29 23:22:17 +04:00
|
|
|
|
}
|
|
|
|
|
}
|