public IActionResult Index() { var viewModel = new IpAddressViewModel(_getIpAddressService.GetIpAddress(_accessor)); return(View(viewModel)); }
public MainWindowViewModel() { IpAddressViewModel1 = new IpAddressViewModel(); IpAddressViewModel2 = new IpAddressViewModel(); }