예제 #1
0
        public object Execute(PingArgs args)
        {
            if (string.IsNullOrEmpty(args.Host))
            {
                return(View("Default"));
            }

            var viewModel = new PingViewModel
            {
                Host   = args.Host,
                Thread = _thread
            };

            return(View("View", viewModel));
        }
예제 #2
0
 public Task <IPong> PingAsync(PingArgs args)
 {
     throw new NotImplementedException();
 }