public async Task <IList <Network> > GetUserSharedNetworksAsync(Guid userId) { IList <NetworkModel> networks = await _networkRepository.GetUserSharedNetworksAsync(userId); return(networks.Select(n => new Network(n)).ToList()); }