25 lines
731 B
C#
25 lines
731 B
C#
using RouteGuideContracts.BindingModels;
|
|
using RouteGuideContracts.SearchModels;
|
|
using RouteGuideContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace RouteGuideContracts.StoragesModels
|
|
{
|
|
public interface ITransportStorage
|
|
{
|
|
List<TransportViewModel> GetFullList();
|
|
|
|
List<TransportViewModel> GetFilteredList(TransportSearchModel model);
|
|
|
|
TransportViewModel? GetElement(TransportSearchModel model);
|
|
|
|
TransportViewModel? Insert(TransportBindingModel model);
|
|
TransportViewModel? Update(TransportBindingModel model);
|
|
TransportViewModel? Delete(TransportBindingModel model);
|
|
}
|
|
}
|