public async Task <bool> HasReadAccessToEntity(string userId, Constants.EntityType type, Guid id)
 {
     return(await _userAccessRepository.HasReadAccessToEntity(userId, type, id)
            .ConfigureAwait(continueOnCapturedContext: false));
 }