Eliseev_E.E._PIbd-21_DBMS/TransportCompany/TransportCompanyContracts/BusinessLogicsContracts/ICargoLogic.cs

27 lines
645 B
C#

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);
bool TransferData(List<CargoViewModel> model);
}
}