15 lines
560 B
C#
15 lines
560 B
C#
|
using ShipyardContracts.BindingModels;
|
|||
|
using ShipyardContracts.SearchModels;
|
|||
|
using ShipyardContracts.ViewModels;
|
|||
|
namespace ShipyardContracts.StoragesContracts
|
|||
|
{
|
|||
|
public interface IShipStorage
|
|||
|
{
|
|||
|
List<ShipViewModel> GetFullList();
|
|||
|
List<ShipViewModel> GetFilteredList(ShipSearchModel model);
|
|||
|
ShipViewModel? GetElement(ShipSearchModel model);
|
|||
|
ShipViewModel? Insert(ShipBindingModel model);
|
|||
|
ShipViewModel? Update(ShipBindingModel model);
|
|||
|
ShipViewModel? Delete(ShipBindingModel model);
|
|||
|
}
|
|||
|
}
|