public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            _bindings.Initialize(this);
            _viewModel = ViewModelLocator.Instance.NewCity;
        }
        public NewCityView(object parameter)
        {
            InitializeComponent();

            Parameter = parameter;

            BindingContext = new NewCityViewModel();
        }
        public ActionResult Registration()
        {
            var citylist = _ctx.Cities.ToList();

            var ViewModel = new NewCityViewModel
            {
                ListofCity = citylist
            };

            return(View(ViewModel));
        }