24 lines
556 B
C#
24 lines
556 B
C#
using Contracts.BindingModels;
|
|
using Contracts.SearchModels;
|
|
using Contracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Contracts.BusinessLogicContracts
|
|
{
|
|
public interface IRoleLogic
|
|
{
|
|
RoleViewModel Create(RoleBindingModel model);
|
|
|
|
RoleViewModel Update(RoleBindingModel model);
|
|
|
|
RoleViewModel ReadElement(RoleSearchModel model);
|
|
|
|
IEnumerable<RoleViewModel> ReadElements(RoleSearchModel? model);
|
|
|
|
RoleViewModel Delete(RoleSearchModel model);
|
|
}
|
|
} |