PIbd-22-Ismailov_SUBD/BlogDataModels/BlogContracts/BusinessLogicContracts/IRoleLogic.cs

22 lines
615 B
C#
Raw Normal View History

2023-09-06 20:46:57 +04:00
using ForumContracts.BindingModels;
using ForumContracts.SearchModels;
using ForumContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ForumContracts.BusinessLogicContracts
{
public interface IRoleLogic
{
List<RoleViewModel>? ReadList(RoleSearchModel? model);
RoleViewModel? ReadElement(RoleSearchModel model);
bool Create(RoleBindingModel model);
bool Update(RoleBindingModel model);
bool Delete(RoleBindingModel model);
void RoleInsertList(int num);
}
}