32 lines
838 B
C#
32 lines
838 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 IComponentBusinessLogicContract
|
|||
|
{
|
|||
|
List<ComponentDataModel> GetAllComponents(bool onlyActive);
|
|||
|
|
|||
|
ComponentDataModel GetComponentByData(string data);
|
|||
|
|
|||
|
ComponentDataModel? GetComponentById(string id);
|
|||
|
|
|||
|
ComponentDataModel? GetComponentByName(string name);
|
|||
|
|
|||
|
void InsertComponent(ComponentDataModel componentDataModel);
|
|||
|
|
|||
|
void UpdateComponent(ComponentDataModel componentDataModel);
|
|||
|
|
|||
|
void DeleteComponent(string id);
|
|||
|
|
|||
|
void RestoreComponent(string id);
|
|||
|
|
|||
|
List<ComponentHistoryDataModel> GetComponentHistory(string componentId);
|
|||
|
}
|
|||
|
|
|||
|
}
|