public JsonResult addEducation(string title, string start_date, string end_date, string institution)
 {
     if (!string.IsNullOrEmpty(title) && !string.IsNullOrEmpty(start_date) && !string.IsNullOrEmpty(end_date) && !string.IsNullOrEmpty(institution))
     {
         jobseeker_education jsed = new jobseeker_education();
         int sess = Convert.ToInt32(Session["js_id"].ToString());
         jsed.education_level = title;
         jsed.status          = 1;
         jsed.institution     = institution;
         jsed.start_date      = DateTime.Parse(start_date);
         jsed.end_date        = DateTime.Parse(end_date);
         jsed.js_id           = sess;
         db.jobseeker_education.Add(jsed);
         if (db.SaveChanges() > 0)
         {
             return(Json(true, JsonRequestBehavior.AllowGet));
         }
         else
         {
             return(Json(false, JsonRequestBehavior.AllowGet));
         }
     }
     else
     {
         return(Json(false, JsonRequestBehavior.AllowGet));
     }
 }
        public JsonResult removeEducation(int jsed_id)
        {
            jobseeker_education cv = db.jobseeker_education.Find(jsed_id);

            if (cv != null)
            {
                cv.status = 0;
                if (db.SaveChanges() > 0)
                {
                    return(Json(true, JsonRequestBehavior.AllowGet));
                }
                else
                {
                    return(Json(false, JsonRequestBehavior.AllowGet));
                }
            }
            else
            {
                return(Json(false, JsonRequestBehavior.AllowGet));
            }
        }