2023-04-28 20:07:07 +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.StoragesContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IRoleStorage
|
|
|
|
|
{
|
|
|
|
|
List<RoleViewModel> GetFullList();
|
|
|
|
|
List<RoleViewModel> GetFilteredList(RoleSearchModel model);
|
|
|
|
|
RoleViewModel? GetElement(RoleSearchModel model);
|
|
|
|
|
RoleViewModel? Insert(RoleBindingModel model);
|
|
|
|
|
RoleViewModel? Update(RoleBindingModel model);
|
|
|
|
|
RoleViewModel? Delete(RoleBindingModel model);
|
2023-05-02 12:30:31 +04:00
|
|
|
|
void RoleInsertList(int num);
|
2023-04-28 20:07:07 +04:00
|
|
|
|
}
|
|
|
|
|
}
|