protected void btnFinalUpdate_Click(object sender, EventArgs e)
        {
            // HttpPostedFile logo;
            UpdateEmployerProfile uep = new UpdateEmployerProfile();

            //try
            //{
            uep.name          = txtEmployerName.Text;
            uep.cityID        = Convert.ToInt32(ddlCity.SelectedItem.Value);
            uep.contactEmail  = txtContactEmail.Text;
            uep.contactPerson = txtContactPerson.Text;
            uep.countryID     = Convert.ToInt32(ddlCountry.SelectedItem.Value);
            uep.description   = txtDescription.Text;
            uep.email         = txtEmail.Text;
            uep.empPassword   = txtPassword.Text;
            uep.empUserName   = txtUsername.Text;


            //logo = uploadImage.PostedFile;
            //int profilepictureint = logo.ContentLength;
            //byte[] bytImg = new byte[profilepictureint];
            //uep.logo = bytImg;


            uep.statusID   = 1;
            uep.vat        = txtVAT.Text;
            uep.industryID = Convert.ToInt32(ddlIndustry.SelectedItem.Value);

            BLL_handler.BLL_UpdateEmployerProfile(uep);
            Page.ClientScript.RegisterStartupScript(this.GetType(), "Scripts", "<script>alert('You have successfully updated your profile');</script>");

            //}
            //catch(Exception ex)
            //{
            //    Page.ClientScript.RegisterStartupScript(this.GetType(), "Scripts", "<script>alert('You profile was not updated');</script>");
            //}
        }
 public bool BLL_UpdateEmployerProfile(UpdateEmployerProfile updateEmployerProfile)
 {
     return(dBAccess.UpdateEmployerProfile(updateEmployerProfile));
 }