23 lines
544 B
C#
23 lines
544 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using YAPContracts.BindingModels;
|
|
using YAPContracts.ViewModels;
|
|
|
|
namespace YAPContracts.AdapterContracts
|
|
{
|
|
public interface IComponentAdapter
|
|
{
|
|
List<ComponentViewModel>? GetList(bool onlyActual);
|
|
|
|
ComponentViewModel? GetComponentByData(string data);
|
|
|
|
void Insert(ComponentBindingModel component);
|
|
|
|
void Update(ComponentBindingModel component);
|
|
void Delete(string id);
|
|
}
|
|
}
|