Example #1
0
 public async Task <Stats> HandleAsync(GetNetworkStats query)
 {
     return(await _networkRepository.GetNetworkAsync());
 }
Example #2
0
        public async Task <Network> GetNetworkAsync(Guid networkId)
        {
            NetworkModel network = await _networkRepository.GetNetworkAsync(networkId);

            return(new Network(network));
        }