private void mBtnSignUp_Click(object sender, EventArgs e)
        {
            if (!string.IsNullOrEmpty(mTxtUserName.Text) && !string.IsNullOrEmpty(mTxtFirstName.Text) && !string.IsNullOrEmpty(mTxtEmail.Text) && !string.IsNullOrEmpty(mTxtPassword.Text) && !string.IsNullOrEmpty(mTxtSurname.Text) && !string.IsNullOrEmpty(mTxtAge.Text))
            {
                User = new User()
                {
                    name      = mTxtFirstName.Text,
                    age       = int.Parse(mTxtAge.Text),
                    email     = mTxtEmail.Text,
                    surName   = mTxtSurname.Text,
                    password  = mTxtPassword.Text,
                    userName  = mTxtUserName.Text,
                    maproutes = null
                };


                if (User != null)
                {
                    new PostData(User).Execute(MongoLab.GetAddressAPI());
                    Toast.MakeText(Application.Context, "Qeydiyyatdan Ugurla kecdiniz", ToastLength.Short).Show();
                    this.Dismiss();
                    FragmentTransaction transaction = FragmentManager.BeginTransaction();
                    dialog_Login        logInDialog = new dialog_Login();
                    logInDialog.Show(transaction, "dialog fragment");
                }
                else
                {
                    Toast.MakeText(Application.Context, "Qeydiyyatda xeta bas vermisdir", ToastLength.Short).Show();
                }
            }
            else
            {
                Toast.MakeText(Application.Context, "Butun xanalari doldur da", ToastLength.Short).Show();
            }
        }
 private void BtnLogin_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(mTxtUserName.Text) && !string.IsNullOrEmpty(mTxtPassword.Text))
     {
         new GetData(mTxtUserName.Text, mTxtPassword.Text).Execute(MongoLab.SelectWithQuery($"\"userName\":\"{mTxtUserName.Text}\",\"password\":\"{mTxtPassword.Text}\""));
     }
     else
     {
         Toast.MakeText(Application.Context, "Butun xanalari doldur deee", ToastLength.Short).Show();
     }
 }