23 lines
689 B
C#
23 lines
689 B
C#
|
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);
|
|||
|
void RoleInsertList(int num);
|
|||
|
}
|
|||
|
}
|