Пример #1
0
        public async Task <IActionResult> AddPermissionToUser(Guid userId, Guid permissionId)
        {
            await _permissionService.AddToUserAsync(userId, permissionId);

            return(Ok());
        }