private void btnProceed_Click(object sender, RoutedEventArgs e)
        {
            childrenViewModel = new ChildrenViewModel();
            string id = lblChildsID.Text;
            int convID = Convert.ToInt32(id);

            string newName = txtCurrentChildName.Text;
            string newSurname = txtCurrentChildSurname_.Text;
            string newAge = txtCurrentChildAge.Text;
            string getGrade = "" + cbCurrentChildGrade.SelectedItem;

            int result = 0;

            if ((!newSurname.Equals("")) && (!newSurname.Equals("")) && (!newAge.Equals("")) && (!getGrade.Equals("")))
            {

                int verifyNum;
                bool isNumerical = int.TryParse(newAge, out verifyNum);

                if(isNumerical == true)
                {
                    try
                    {
                        result = childrenViewModel.updateChildInfo(convID, parentID, newName, newSurname, newAge, getGrade);

                    }
                    catch (Exception)
                    {

                    }


                    if (result > 0)
                    {
                        int ConvParentIden = Convert.ToInt32(parentID);
                        this.Frame.Navigate(typeof(MenuPage), ConvParentIden);
                        string msg = "Child details update was successful!";
                        messageBox(msg);
                    }
                    else
                    {
                        string msg = "Couldn't update child information!";
                        messageBox(msg);
                    }
                }
                else
                {
                    msgs = "Please enter numeric characters only for the age!";
                    messageBox(msgs);
                }


                    

             }
             else
             {
                 msgs = "Please ensure that all fields are filled in before proceeding to update!";
                 messageBox(msgs);
             }
                
        }