27 lines
677 B
C#
27 lines
677 B
C#
using _0_Framework.Application;
|
|
|
|
using Microsoft.AspNetCore.Mvc.Rendering;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Shared.Contracts.PmRole.Queries;
|
|
|
|
namespace AccountManagement.Application.Contracts.Role
|
|
{
|
|
public interface IRoleApplication
|
|
{
|
|
Task<OperationResult> Create(CreateRole command);
|
|
Task<OperationResult> Edit(EditRole command);
|
|
List<RoleViewModel> List();
|
|
EditRole GetDetails(long id);
|
|
|
|
#region ProgramManager
|
|
|
|
Task<SelectList> GetPmRoleList(long? gozareshgirRoleId);
|
|
Task<List<GetPmRolesDto>> GetPmRoleListToEdit(long? gozareshgirRoleId);
|
|
|
|
|
|
#endregion
|
|
|
|
}
|
|
}
|