public async Task <ActionResult> AddPermToRole(Guid roleId, AccessModifier access, TargetModifier target)
        {
            if (roleId.Equals(Guid.Empty))
            {
                return(this.BadRequest("Role Id is empty"));
            }

            try
            {
                await roleService.AddPermissionToRoleAsync(roleId, access, target);

                return(Ok());
            }
            catch (ServiceException ex)
            {
                return(StatusCode((int)ex.ErrorCode, ex.Message));
            }
            catch (Exception ex)
            {
                await _logger.Error(ex.Message);

                return(StatusCode(500, "Something went wrong"));
            }
        }