StoragesContracts
This commit is contained in:
parent
db07407ffd
commit
6aa28811fd
@ -3,10 +3,19 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using TransportGuideContracts.BindingModels;
|
||||||
|
using TransportGuideContracts.SearchModels;
|
||||||
|
using TransportGuideContracts.ViewModels;
|
||||||
|
|
||||||
namespace TransportGuideContracts.StoragesContracts
|
namespace TransportGuideContracts.StoragesContracts
|
||||||
{
|
{
|
||||||
internal class IRouteStorage
|
public interface IRouteStorage
|
||||||
{
|
{
|
||||||
|
List<RouteViewModel> GetFullList();
|
||||||
|
List<RouteViewModel> GetFilteredList(RouteSearchModel model);
|
||||||
|
RouteViewModel? GetElement(RouteSearchModel model);
|
||||||
|
RouteViewModel? Insert(RouteBindingModel model);
|
||||||
|
RouteViewModel? Update(RouteBindingModel model);
|
||||||
|
RouteViewModel? Delete(RouteBindingModel model);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,19 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using TransportGuideContracts.BindingModels;
|
||||||
|
using TransportGuideContracts.SearchModels;
|
||||||
|
using TransportGuideContracts.ViewModels;
|
||||||
|
|
||||||
namespace TransportGuideContracts.StoragesContracts
|
namespace TransportGuideContracts.StoragesContracts
|
||||||
{
|
{
|
||||||
internal interface IStopStorage
|
public interface IStopStorage
|
||||||
{
|
{
|
||||||
|
List<StopViewModel> GetFullList();
|
||||||
|
List<StopViewModel> GetFilteredList(StopSearchModel model);
|
||||||
|
StopViewModel? GetElement(StopSearchModel model);
|
||||||
|
StopViewModel? Insert(StopBindingModel model);
|
||||||
|
StopViewModel? Update(StopBindingModel model);
|
||||||
|
StopViewModel? Delete(StopBindingModel model);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,10 +3,19 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using TransportGuideContracts.BindingModels;
|
||||||
|
using TransportGuideContracts.SearchModels;
|
||||||
|
using TransportGuideContracts.ViewModels;
|
||||||
|
|
||||||
namespace TransportGuideContracts.StoragesContracts
|
namespace TransportGuideContracts.StoragesContracts
|
||||||
{
|
{
|
||||||
internal interface ITransportTypeStorage
|
public interface ITransportTypeStorage
|
||||||
{
|
{
|
||||||
|
List<TransportTypeViewModel> GetFullList();
|
||||||
|
List<TransportTypeViewModel> GetFilteredList(TransportTypeSearchModel model);
|
||||||
|
TransportTypeViewModel? GetElement(TransportTypeSearchModel model);
|
||||||
|
TransportTypeViewModel? Insert(TransportTypeBindingModel model);
|
||||||
|
TransportTypeViewModel? Update(TransportTypeBindingModel model);
|
||||||
|
TransportTypeViewModel? Delete(TransportTypeBindingModel model);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user