public bool UpdateExtendedWarranty(ExtendedWarranty _ExtendedWarranty) { using (SonnenDBEntities db = new SonnenDBEntities()) { db.Entry(_ExtendedWarranty).State = System.Data.Entity.EntityState.Modified; db.SaveChanges(); } return(true); }
public bool UpdateInstaller(Installer _Installer) { using (SonnenDBEntities db = new SonnenDBEntities()) { db.Entry(_Installer).State = System.Data.Entity.EntityState.Modified; db.SaveChanges(); } return(true); }