You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
855 B

using BaseService.Controllers;
using BaseService.Systems.UserRoleMenusManagement;
using BaseService.Systems.UserRoleMenusManagement.Dto;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using Volo.Abp;
namespace BaseService.HttpApi.Systems
{
[RemoteService]
[Area("base")]
[Route("api/base/user-menus")]
public class UserMenusController : BaseServiceController, IUserMenusAppService
{
private readonly IUserMenusAppService _userMenusAppService;
public UserMenusController(IUserMenusAppService userMenusAppService)
{
_userMenusAppService = userMenusAppService;
}
[HttpGet]
[Route("permissions")]
public Task<UserMenuPermissionsDto> GetUserMenuPermission()
{
return _userMenusAppService.GetUserMenuPermission();
}
}
}