public void UpdateVacancyMatching(VacancyMatching matching)          //Update Location
 {
     using (DBUtills dBUtills = new DBUtills())
     {
         dBUtills.Entry(matching).State = EntityState.Modified;
         dBUtills.SaveChanges();
     }
 }
 public void UpdateLocation(Locations locations)          //Update Location
 {
     using (DBUtills dBUtills = new DBUtills())
     {
         dBUtills.Entry(locations).State = EntityState.Modified;
         dBUtills.SaveChanges();
     }
 }
 public void UpdateCgpa(Cgpas job)          //Update Cgpas
 {
     using (DBUtills dBUtills = new DBUtills())
     {
         dBUtills.Entry(job).State = EntityState.Modified;
         dBUtills.SaveChanges();
     }
 }
 public void UpdateJobType(JobTypes job)          //Update Jobtypes
 {
     using (DBUtills dBUtills = new DBUtills())
     {
         dBUtills.Entry(job).State = EntityState.Modified;
         dBUtills.SaveChanges();
     }
 }
Ejemplo n.º 5
0
 public int Update(AccountDetails job)          //Update details
 {
     using (DBUtills dBUtills = new DBUtills())
     {
         dBUtills.Entry(job).State = EntityState.Modified;
         dBUtills.SaveChanges();
         return(1);
     }
 }
        public bool UpdateProfile(RecruiterProfile profile)          //Update profile
        {
            bool status = false;

            using (DBUtills dBUtills = new DBUtills())
            {
                dBUtills.Entry(profile).State = EntityState.Modified;
                dBUtills.SaveChanges();
                status = true;
            }
            return(status);
        }
        public bool UpdateExperience(WorkExperiences experience)          //Update experience
        {
            bool status = false;

            using (DBUtills dBUtills = new DBUtills())
            {
                dBUtills.Entry(experience).State = EntityState.Modified;
                dBUtills.SaveChanges();
                status = true;
            }
            return(status);
        }
        public bool UpdateSkills(SearcherSkillSets skillSets)          //Update skills
        {
            bool status = false;

            using (DBUtills dBUtills = new DBUtills())
            {
                dBUtills.Entry(skillSets).State = EntityState.Modified;
                dBUtills.SaveChanges();
                status = true;
            }
            return(status);
        }