Exemple #1
0
        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;
            }
        }
Exemple #2
0
 public int AileEkleManagement(AileBilgileri aileBilgileri)
 {
     _db.Entry(aileBilgileri).State = EntityState.Added;
     return(_db.SaveChanges());
 }
Exemple #3
0
 public int HobiEkle(Hobiler hobi)
 {
     _db.Entry(hobi).State = EntityState.Added;
     return(_db.SaveChanges());
 }