Compare commits

...

2 Commits

5 changed files with 86 additions and 2 deletions

View File

@ -7,8 +7,8 @@
</PropertyGroup>
<ItemGroup>
<Folder Include="ViewModels\" />
<Folder Include="StoragesContracts\" />
<Folder Include="SearchModels\" />
<Folder Include="BusinessLogicsContracts\" />
</ItemGroup>
<ItemGroup>

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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);
}
}