14 lines
480 B
C#
14 lines
480 B
C#
using DeviceContracts.BindingModels;
|
|
using DeviceContracts.SearchModels;
|
|
using DeviceContracts.ViewModels;
|
|
namespace DeviceContracts.BusinessLogicsContracts
|
|
{
|
|
public interface IDeviceLogic
|
|
{
|
|
List<DeviceViewModel>? ReadList(DeviceSearchModel? model);
|
|
DeviceViewModel? ReadElement(DeviceSearchModel model);
|
|
bool Create(DeviceBindingModel model);
|
|
bool Update(DeviceBindingModel model);
|
|
bool Delete(DeviceBindingModel model);
|
|
}
|
|
} |