public int AddCallCenterId() { var callCenter = new InfoCallCenter(); DbEntities.InfoCallCenter.Add(callCenter); DbEntities.SaveChanges(); return(callCenter.InfoCallCenterId); }
public void AddActivationCode(string code) { var callCenter = new InfoCallCenter { ActivationCode = code }; DbEntities.InfoCallCenter.Add(callCenter); DbEntities.SaveChanges(); }