26 lines
723 B
C#
26 lines
723 B
C#
|
using NorthBridgeContract.DataModels;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace NorthBridgeContract.BusinessLogicsContracts
|
|||
|
{
|
|||
|
public interface ISupplyBusinessLogicContract
|
|||
|
{
|
|||
|
void CreateSupply(SupplyDataModel supply);
|
|||
|
|
|||
|
SupplyDataModel GetSupplyById(string supplyId);
|
|||
|
|
|||
|
List<SupplyDataModel> GetSuppliesByStorageId(string storageId);
|
|||
|
|
|||
|
void AddOrUpdateComponentInSupply(ComponentInSupplyDataModel componentInSupply);
|
|||
|
|
|||
|
void UpdateComponentCountInSupply(string supplyId, string componentId, int newCount);
|
|||
|
|
|||
|
void RemoveComponentFromSupply(string supplyId, string componentId);
|
|||
|
}
|
|||
|
|
|||
|
}
|