26 lines
723 B
C#
Raw Normal View History

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