protected override bool Handle(CreateHostCommand request)
 {
     if (!_hosts.Exists(h => h == request.Host))
     {
         _hosts.Add(request.Host);
         return(true);
     }
     return(false);
 }
 protected override bool Handle(DeleteHostCommand request)
 {
     if (_hosts.Exists(h => h == request.Host))
     {
         _hosts.Remove(request.Host);
         return(true);
     }
     return(false);
 }