25 lines
691 B
C#
25 lines
691 B
C#
using SecuritySystemContracts.BindingModels;
|
|
using SecuritySystemContracts.SearchModels;
|
|
using SecuritySystemContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SecuritySystemContracts.BusinessLogicsContracts
|
|
{
|
|
//бизнес-логика для продуктов
|
|
public interface ISecureLogic
|
|
{
|
|
List<SecureViewModel>? ReadList(SecureSearchModel? model);
|
|
|
|
SecureViewModel? ReadElement(SecureSearchModel model);
|
|
|
|
bool Create(SecureBindingModel model);
|
|
|
|
bool Update(SecureBindingModel model);
|
|
|
|
bool Delete(SecureBindingModel model);
|
|
}
|
|
} |