public Telefonlar UpdatePhone(int id, Telefonlar phone)
 {
     db.Entry(phone).State = System.Data.Entity.EntityState.Modified;
     db.SaveChanges();
     return(phone);
 }
 public Telefonlar CreatePhone(Telefonlar phone)
 {
     db.Telefonlar.Add(phone);
     db.SaveChanges();
     return(phone);
 }