public IEnumerable <Authority> Get(long roleId, long?projectId = null)
        {
            var result = _authorityRepository.GetByProjectAndRole(roleId, projectId).ToArray();

            return(result.Select(_ => _.ToModel()));
        }