Exemple #1
0
        public async Task<IResultModel> MenuList(Guid id)
        {
            var exists = await _repository.ExistsAsync(id);
            if (!exists)
                return ResultModel.NotExists;

            var list = await _roleMenuRepository.GetByRoleId(id);
            return ResultModel.Success(list);
        }