public bool Insert(FREELANCER_EDUCATION_INFO entity)
 {
     db.FREELANCER_EDUCATION_INFO.Add(entity);
     if (db.SaveChanges() > 0)
     {
         return(true);
     }
     return(false);
 }
        public bool Update(FREELANCER_EDUCATION_INFO entity)
        {
            db.Entry(entity).State = EntityState.Modified;
            if (db.SaveChanges() > 0)
            {
                return(true);
            }

            return(false);
        }
        public bool Delete(int?Id)
        {
            FREELANCER_EDUCATION_INFO entity = GetById(Id);

            if (entity != null)
            {
                db.FREELANCER_EDUCATION_INFO.Remove(entity);
                if (db.SaveChanges() > 0)
                {
                    return(true);
                }
            }
            return(false);
        }