17 lines
448 B
C#
17 lines
448 B
C#
|
using TheCyclopsContracts.DataModels;
|
|||
|
|
|||
|
namespace TheCyclopsContracts.BusinessLogicContracts;
|
|||
|
|
|||
|
public interface IComponentBusinessLogicContract
|
|||
|
{
|
|||
|
List<ComponentDataModel> GetAllComponents(bool onlyActive = true);
|
|||
|
|
|||
|
ComponentDataModel GetComponentByData(string data);
|
|||
|
|
|||
|
void InsertComponent(ComponentDataModel componentDataModel);
|
|||
|
|
|||
|
void UpdateComponent(ComponentDataModel componentDataModel);
|
|||
|
|
|||
|
void DeleteComponent(string id);
|
|||
|
}
|