public JsonResult getCandidates_byCandidateId(int candidateId)
        {
            string     msg = null;
            Candidates c   = new Candidates();

            try
            {
                c = _cds.getCandidates_byCandidateId(candidateId);
            }
            catch (Exception ex)
            {
                msg = "Error:" + ex.Message;
            }
            return(Json(new { c = c, msg = msg }, JsonRequestBehavior.AllowGet));
        }