protected void btnSubmit_Click(object sender, EventArgs e)
    {
        BusinessObjects.Complaint complaint = new BusinessObjects.Complaint();
        complaint.StateId                  = Convert.ToInt32(ddlState.SelectedValue);
        complaint.CityId                   = Convert.ToInt32(ddlCity.SelectedValue);
        complaint.LocalityId               = Convert.ToInt32(ddlLocality.SelectedValue);
        complaint.DepartmentTypeId         = Convert.ToInt32(ddlDepartmentType.SelectedValue);
        complaint.ComplaintTypeId          = Convert.ToInt32(ddlComplaintType.SelectedValue);
        complaint.ReportingPersonFirstName = txtFirstName.Text;
        complaint.ReportingPersonLastName  = txtLastName.Text;
        complaint.ReportingPersonAdhaarId  = txtAdharId.Text;
        complaint.Description              = txtDescription.Text;


        if (FileUpload1.HasFile)
        {
            String RelativePath = "~/Uploads";
            string AbsolutePath = Server.MapPath(RelativePath);

            string Extension = System.IO.Path.GetExtension(FileUpload1.FileName);
            Guid   g         = Guid.NewGuid();

            string PathToSave = String.Format("{0}/{1}{2}", AbsolutePath, g.ToString(), Extension);

            FileUpload1.SaveAs(PathToSave);

            //To save to DB
            string Db = string.Format("{0}/{1}{2}", RelativePath, g.ToString(), Extension);

            complaint.Image = Db;
        }

        BusinessObjects.AdhaarXContactNumber axcn = BusinessLogic.AdharXContactNumberBL.GetDetailsByAdhaar(complaint.ReportingPersonAdhaarId);

        complaint.ReportingPersonContactNumber = axcn.ContactNumber;
        complaint.OTP = "123456";
        complaint.CurrentEscalationNumber = 0;
        complaint.CurrentStatusId         = 1;

        BusinessObjects.Department department = BusinessLogic.DepartmentBL.GetDetailsByLocationAndType(complaint.StateId, complaint.CityId, complaint.VillageId, complaint.LocalityId, complaint.DepartmentTypeId);
        complaint.DepartmentId = department.Id;

        int ComplaintId = BusinessLogic.ComplaintBL.Add(complaint);

        //Send SMS here

        string Message = String.Format("Your OTP for Complaint ID:{0} is {1}", ComplaintId, complaint.OTP);

        OutwardCommunication.SMSHelper.SendSMS(Message, complaint.ReportingPersonContactNumber);

        pnlStart.Visible             = false;
        AfterOTPVerification.Visible = false;
        pnlVerifyOTP.Visible         = true;
    }