public static void Insert(Entity.CustomerAddress obj) { using (var model = new Entity.SeguroEntities1()) { model.Entry <Entity.CustomerAddress>(obj).State = System.Data.Entity.EntityState.Added; model.SaveChanges(); } }
public ActionResult Address(Entity.CustomerAddress obj) { BusinessLogic.CustomAddresManager.Insert(obj); return(View("Results")); }
public static void Insert(Entity.CustomerAddress obj) { DataLayer.CustomerAddressData.Insert(obj); }
public static void Update(Entity.CustomerAddress obj) { DataLayer.CustomerAddressData.Update(obj); }