コード例 #1
0
 public void UpdateVacancyMatching(VacancyMatching matching)          //Update Location
 {
     using (DBUtills dBUtills = new DBUtills())
     {
         dBUtills.Entry(matching).State = EntityState.Modified;
         dBUtills.SaveChanges();
     }
 }
コード例 #2
0
 public void UpdateLocation(Locations locations)          //Update Location
 {
     using (DBUtills dBUtills = new DBUtills())
     {
         dBUtills.Entry(locations).State = EntityState.Modified;
         dBUtills.SaveChanges();
     }
 }
コード例 #3
0
 public void UpdateCgpa(Cgpas job)          //Update Cgpas
 {
     using (DBUtills dBUtills = new DBUtills())
     {
         dBUtills.Entry(job).State = EntityState.Modified;
         dBUtills.SaveChanges();
     }
 }
コード例 #4
0
 public void UpdateJobType(JobTypes job)          //Update Jobtypes
 {
     using (DBUtills dBUtills = new DBUtills())
     {
         dBUtills.Entry(job).State = EntityState.Modified;
         dBUtills.SaveChanges();
     }
 }
コード例 #5
0
 public int Update(AccountDetails job)          //Update details
 {
     using (DBUtills dBUtills = new DBUtills())
     {
         dBUtills.Entry(job).State = EntityState.Modified;
         dBUtills.SaveChanges();
         return(1);
     }
 }
コード例 #6
0
        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);
        }
コード例 #7
0
        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);
        }
コード例 #8
0
        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);
        }