2023-04-22 14:12:21 +03:00
|
|
|
|
using Contracts.BindingModels;
|
|
|
|
|
using Contracts.SearchModel;
|
|
|
|
|
using Contracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Contracts.Storage
|
|
|
|
|
{
|
|
|
|
|
public interface IVoyageStorage
|
|
|
|
|
{
|
|
|
|
|
List<VoyageVM> GetFullList();
|
|
|
|
|
List<VoyageVM> GetFilteredList(VoyageSM model);
|
|
|
|
|
VoyageVM? GetElement(VoyageSM model);
|
|
|
|
|
VoyageVM? Insert(VoyageBM model);
|
2023-04-22 18:42:51 +03:00
|
|
|
|
|
2023-04-22 14:12:21 +03:00
|
|
|
|
VoyageVM? Delete(VoyageBM model);
|
|
|
|
|
}
|
|
|
|
|
}
|