public int kisiEkleManagement(KisiselBilgiler kisi) { _db.Entry(kisi).State = EntityState.Modified; _db.Entry(kisi).State = EntityState.Added; try { return(_db.SaveChanges()); } catch (Exception ex) { throw; } }
public int HobiEkle(Hobiler hobi) { _db.Entry(hobi).State = EntityState.Added; return(_db.SaveChanges()); }
public int AileEkleManagement(AileBilgileri aileBilgileri) { _db.Entry(aileBilgileri).State = EntityState.Added; return(_db.SaveChanges()); }