PIbd-22_Chernyshev_Shabunov.../ComputerShopContracts/BusinessLogicContracts/IShipmentLogic.cs

21 lines
598 B
C#

using ComputerShopContracts.BindingModels;
using ComputerShopContracts.SearchModels;
using ComputerShopContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerShopContracts.BusinessLogicContracts
{
public interface IShipmentLogic
{
List<ShipmentViewModel>? ReadList(ShipmentSearchModel? model);
ShipmentViewModel? ReadElement(ShipmentSearchModel model);
bool Create(ShipmentBindingModel model);
bool Update(ShipmentBindingModel model);
bool Delete(ShipmentBindingModel model);
}
}