PIbd-23_Starostin_I.K._Ship.../ShipyardContracts/BusinessLogicContracts/IShipLogic.cs

15 lines
487 B
C#

using ShipyardContracts.BindingModels;
using ShipyardContracts.SearchModels;
using ShipyardContracts.ViewModels;
namespace ShipyardContracts.BusinessLogicsContracts
{
public interface IShipLogic
{
List<ShipViewModel>? ReadList(ShipSearchModel? model);
ShipViewModel? ReadElement(ShipSearchModel model);
bool Create(ShipBindingModel model);
bool Update(ShipBindingModel model);
bool Delete(ShipBindingModel model);
}
}