2023-05-03 19:23:22 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2023-05-03 19:23:29 +04:00
|
|
|
|
using TransportGuideContracts.BindingModels;
|
|
|
|
|
using TransportGuideContracts.SearchModels;
|
|
|
|
|
using TransportGuideContracts.ViewModels;
|
2023-05-03 19:23:22 +04:00
|
|
|
|
|
|
|
|
|
namespace TransportGuideContracts.StoragesContracts
|
|
|
|
|
{
|
2023-05-03 19:23:29 +04:00
|
|
|
|
public interface IRouteStorage
|
2023-05-03 19:23:22 +04:00
|
|
|
|
{
|
2023-05-03 19:23:29 +04:00
|
|
|
|
List<RouteViewModel> GetFullList();
|
|
|
|
|
List<RouteViewModel> GetFilteredList(RouteSearchModel model);
|
|
|
|
|
RouteViewModel? GetElement(RouteSearchModel model);
|
|
|
|
|
RouteViewModel? Insert(RouteBindingModel model);
|
|
|
|
|
RouteViewModel? Update(RouteBindingModel model);
|
|
|
|
|
RouteViewModel? Delete(RouteBindingModel model);
|
2023-05-03 19:23:22 +04:00
|
|
|
|
}
|
|
|
|
|
}
|