2023-04-05 22:59:20 +04:00
|
|
|
|
using FurnitureContracts.BindingModels;
|
|
|
|
|
using FurnitureContracts.SearchModels;
|
|
|
|
|
using FurnitureContracts.ViewModel;
|
|
|
|
|
|
|
|
|
|
namespace FurnitureContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
2023-04-05 23:06:55 +04:00
|
|
|
|
public interface IRoleLogic
|
2023-04-05 22:59:20 +04:00
|
|
|
|
{
|
2023-04-05 23:06:55 +04:00
|
|
|
|
List<RoleViewModel>? ReadList(RoleSearchModel? model);
|
|
|
|
|
RoleViewModel? ReadElement(RoleSearchModel model);
|
|
|
|
|
bool Create(RoleBindingModel model);
|
|
|
|
|
bool Update(RoleBindingModel model);
|
|
|
|
|
bool Delete(RoleBindingModel model);
|
2023-04-05 22:59:20 +04:00
|
|
|
|
}
|
|
|
|
|
}
|