BACKDEV-405 #5
@ -0,0 +1,15 @@
|
|||||||
|
using ComputerHardwareStoreContracts.BindingModels;
|
||||||
|
using ComputerHardwareStoreContracts.SearchModels;
|
||||||
|
using ComputerHardwareStoreContracts.ViewModels;
|
||||||
|
|
||||||
|
namespace ComputerHardwareStoreContracts.BusinessLogicsContracts
|
||||||
|
{
|
||||||
|
public interface IComponentLogic
|
||||||
|
{
|
||||||
|
List<ComponentViewModel>? ReadList(ComponentSearchModel? model);
|
||||||
|
ComponentViewModel? ReadElement(ComponentSearchModel model);
|
||||||
|
bool Create(ComponentBindingModel model);
|
||||||
|
bool Update(ComponentBindingModel model);
|
||||||
|
bool Delete(ComponentBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
using ComputerHardwareStoreContracts.BindingModels;
|
||||||
|
using ComputerHardwareStoreContracts.SearchModels;
|
||||||
|
using ComputerHardwareStoreContracts.ViewModels;
|
||||||
|
|
||||||
|
namespace ComputerHardwareStoreContracts.BusinessLogicsContracts
|
||||||
|
{
|
||||||
|
public interface IOrderLogic
|
||||||
|
{
|
||||||
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
||||||
|
bool CreateOrder(OrderBindingModel model);
|
||||||
|
bool TakeOrderInWork(OrderBindingModel model);
|
||||||
|
bool FinishOrder(OrderBindingModel model);
|
||||||
|
bool DeliveryOrder(OrderBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
using ComputerHardwareStoreContracts.BindingModels;
|
||||||
|
using ComputerHardwareStoreContracts.SearchModels;
|
||||||
|
using ComputerHardwareStoreContracts.ViewModels;
|
||||||
|
|
||||||
|
namespace ComputerHardwareStoreContracts.BusinessLogicsContracts
|
||||||
|
{
|
||||||
|
public interface IProductLogic
|
||||||
|
{
|
||||||
|
List<ProductViewModel>? ReadList(ProductSearchModel? model);
|
||||||
|
ProductViewModel? ReadElement(ProductSearchModel model);
|
||||||
|
bool Create(ProductBindingModel model);
|
||||||
|
bool Update(ProductBindingModel model);
|
||||||
|
bool Delete(ProductBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
using ComputerHardwareStoreContracts.BindingModels;
|
||||||
|
using ComputerHardwareStoreContracts.SearchModels;
|
||||||
|
using ComputerHardwareStoreContracts.ViewModels;
|
||||||
|
|
||||||
|
namespace ComputerHardwareStoreContracts.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);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
using HardwareStoreContracts.BindingModels;
|
||||||
|
using ComputerHardwareStoreContracts.SearchModels;
|
||||||
|
using ComputerHardwareStoreContracts.ViewModels;
|
||||||
|
|
||||||
|
namespace ComputerHardwareStoreContracts.BusinessLogicsContracts
|
||||||
|
{
|
||||||
|
public interface IVendorLogic
|
||||||
|
{
|
||||||
|
List<VendorViewModel>? ReadList(VendorSearchModel? model);
|
||||||
|
VendorViewModel? ReadElement(VendorSearchModel model);
|
||||||
|
bool Create(VendorBindingModel model);
|
||||||
|
bool Update(VendorBindingModel model);
|
||||||
|
bool Delete(VendorBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
@ -7,7 +7,11 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\ComputerHardwareStoreDataModels\ComputerHardwareStoreDataModels.csproj" />
|
<Compile Remove="BusinessLogicsContracts\IStoreKeeperLogic.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="BusinessLogicsContracts\IStoreKeeperLogic.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
Loading…
Reference in New Issue
Block a user