public bool UpdatePeer(Peer peer)
 {
     _dbEntities.Entry(peer).State = EntityState.Modified;
     _dbEntities.SaveChanges();
     return(true);
 }
 public ActiveDirectoryUser EditActiveDirectoryUser(ActiveDirectoryUser activeDirectoryUser)
 {
     _slapDbEntities.Entry(activeDirectoryUser).State = EntityState.Modified;
     _slapDbEntities.SaveChanges();
     return(activeDirectoryUser);
 }
Esempio n. 3
0
 public PCAssociate EditPCAssociate(PCAssociate pcAssociate)
 {
     _dbEntities.Entry(pcAssociate).State = EntityState.Modified;
     _dbEntities.SaveChanges();
     return(pcAssociate);
 }
 public AppraisalSeason EditAppraisalSeason(AppraisalSeason appraisalSeason)
 {
     _dbEntities.Entry(appraisalSeason).State = EntityState.Modified;
     _dbEntities.SaveChanges();
     return(appraisalSeason);
 }