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 ICargoLogic
|
|
|
|
|
{
|
|
|
|
|
List<CargoViewModel>? ReadList(CargoSearchModel? model);
|
|
|
|
|
|
|
|
|
|
CargoViewModel? ReadElement(CargoSearchModel model);
|
|
|
|
|
|
|
|
|
|
bool Create(CargoBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool Update(CargoBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool Delete(CargoBindingModel model);
|
2023-05-10 14:18:50 +04:00
|
|
|
|
|
|
|
|
|
bool TransferData(List<CargoViewModel> model);
|
2023-03-29 23:22:17 +04:00
|
|
|
|
}
|
|
|
|
|
}
|