public IHttpActionResult PostEducation(EducationDTO education)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            db.Create(education);

            return(CreatedAtRoute("DefaultApi", new { id = education.EducationID }, education));
        }
        public IHttpActionResult PostEducation(EducationDTO education)
        {
            //education = new EducationDTO();
            //education.Degree = "be";
            //education.Description = "na";
            //education.InstituteName = "inst";
            //education.IsActive = true;

            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            var objEducation = db.Create(education);

            return(CreatedAtRoute("DefaultApi", new { id = education.EducationID }, objEducation));
        }