public JsonResult check_Candidate_Exists_EmailId_MobileNo(Candidates c)
        {
            string    msg = null;
            int       emailStatus = 0, mobileStatus = 0;
            DataTable dt = new DataTable();

            try
            {
                dt = _cds.check_Candidate_Exists_EmailId_MobileNo(c);
                if (dt.Rows.Count > 0)
                {
                    emailStatus  = Convert.ToInt32(dt.Rows[0]["emailStatus"]);
                    mobileStatus = Convert.ToInt32(dt.Rows[0]["mobileStatus"]);
                }
            }
            catch (Exception ex)
            {
                msg = "Error:" + ex.Message;
            }
            return(Json(new { emailStatus = emailStatus, mobileStatus = mobileStatus, msg = msg }, JsonRequestBehavior.AllowGet));
        }