Compare commits

..

2 Commits

5 changed files with 81 additions and 2 deletions

View File

@ -0,0 +1,20 @@
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.BusinessLogicsContracts
{
public interface IBundlingLogic
{
List<BundlingViewModel>? ReadList(BundlingSearchModel? model);
BundlingViewModel? ReadElement(BundlingSearchModel model);
bool Create(BundlingBindingModel model);
bool Update(BundlingBindingModel model);
bool Delete(BundlingBindingModel model);
}
}

View File

@ -0,0 +1,20 @@
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.BusinessLogicsContracts
{
public interface ICarLogic
{
List<CarViewModel>? ReadList(CarSearchModel? model);
CarViewModel? ReadElement(CarSearchModel model);
bool Create(CarBindingModel model);
bool Update(CarBindingModel model);
bool Delete(CarBindingModel model);
}
}

View File

@ -0,0 +1,20 @@
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.BusinessLogicsContracts
{
public interface IFeatureLogic
{
List<FeatureViewModel>? ReadList(FeatureSearchModel? model);
FeatureViewModel? ReadElement(FeatureSearchModel model);
bool Create(FeatureBindingModel model);
bool Update(FeatureBindingModel model);
bool Delete(FeatureBindingModel model);
}
}

View File

@ -0,0 +1,20 @@
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.BusinessLogicsContracts
{
public interface IStorekeeperLogic
{
List<StorekeeperViewModel>? ReadList(StorekeeperSearchModel? model);
StorekeeperViewModel? ReadElement(StorekeeperSearchModel model);
bool Create(StorekeeperBindingModel model);
bool Update(StorekeeperBindingModel model);
bool Delete(StorekeeperBindingModel model);
}
}

View File

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