public async Task <DomainUserCounts> GetUserCountsAsync(string space, string userId) { // Building composite userId to isolated different spaces of statistics userId = BuildGlobalId(space, userId); UserCountsEntity result = await _userCountsRepository.GetAsync(userId); return(_mapper.Map <UserCountsEntity, DomainUserCounts>(result)); }