Compare commits
2 Commits
915a3e27f6
...
80923f5275
Author | SHA1 | Date | |
---|---|---|---|
80923f5275 | |||
53b15762f4 |
@ -7,8 +7,8 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="ViewModels\" />
|
||||
<Folder Include="StoragesContracts\" />
|
||||
<Folder Include="SearchModels\" />
|
||||
<Folder Include="BusinessLogicsContracts\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -0,0 +1,21 @@
|
||||
using CarCenterContracts.BindingModels;
|
||||
using CarCenterContracts.SearchModels;
|
||||
using CarCenterContracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterContracts.StoragesContracts
|
||||
{
|
||||
public interface IBundlingStorage
|
||||
{
|
||||
List<BundlingViewModel> GetFullList();
|
||||
List<BundlingViewModel> GetFilteredList(BundlingSearchModel model);
|
||||
BundlingViewModel? GetElement(BundlingSearchModel model);
|
||||
BundlingViewModel? Insert(BundlingBindingModel model);
|
||||
BundlingViewModel? Update(BundlingBindingModel model);
|
||||
BundlingViewModel? Delete(BundlingBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
using CarCenterContracts.BindingModels;
|
||||
using CarCenterContracts.SearchModels;
|
||||
using CarCenterContracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterContracts.StoragesContracts
|
||||
{
|
||||
public interface ICarStorage
|
||||
{
|
||||
List<CarViewModel> GetFullList();
|
||||
List<CarViewModel> GetFilteredList(CarSearchModel model);
|
||||
CarViewModel? GetElement(CarSearchModel model);
|
||||
CarViewModel? Insert(CarBindingModel model);
|
||||
CarViewModel? Update(CarBindingModel model);
|
||||
CarViewModel? Delete(CarBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
using CarCenterContracts.BindingModels;
|
||||
using CarCenterContracts.SearchModels;
|
||||
using CarCenterContracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterContracts.StoragesContracts
|
||||
{
|
||||
public interface IFeatureStorage
|
||||
{
|
||||
List<FeatureViewModel> GetFullList();
|
||||
List<FeatureViewModel> GetFilteredList(FeatureSearchModel model);
|
||||
FeatureViewModel? GetElement(FeatureSearchModel model);
|
||||
FeatureViewModel? Insert(FeatureBindingModel model);
|
||||
FeatureViewModel? Update(FeatureBindingModel model);
|
||||
FeatureViewModel? Delete(FeatureBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
using CarCenterContracts.BindingModels;
|
||||
using CarCenterContracts.SearchModels;
|
||||
using CarCenterContracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CarCenterContracts.StoragesContracts
|
||||
{
|
||||
public interface IStorekeeperStorage
|
||||
{
|
||||
List<StorekeeperViewModel> GetFullList();
|
||||
List<StorekeeperViewModel> GetFilteredList(StorekeeperSearchModel model);
|
||||
StorekeeperViewModel? GetElement(StorekeeperSearchModel model);
|
||||
StorekeeperViewModel? Insert(StorekeeperBindingModel model);
|
||||
StorekeeperViewModel? Update(StorekeeperBindingModel model);
|
||||
StorekeeperViewModel? Delete(StorekeeperBindingModel model);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user