18 lines
524 B
C#
18 lines
524 B
C#
using CandyHouseContracts.DataModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CandyHouseContracts.BusinessLogicContracts;
|
|
|
|
public interface IStorageBusinessLogicContract
|
|
{
|
|
List<StorageDataModel> GetAllComponents();
|
|
StorageDataModel GetComponentByData(string data);
|
|
void InsertComponent(StorageDataModel storageDataModel);
|
|
void UpdateComponent(StorageDataModel storageDataModel);
|
|
void DeleteComponent(string id);
|
|
}
|