Exemplo n.º 1
0
 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();
     }
 }
Exemplo n.º 2
0
 public ActionResult Address(Entity.CustomerAddress obj)
 {
     BusinessLogic.CustomAddresManager.Insert(obj);
     return(View("Results"));
 }
Exemplo n.º 3
0
 public static void Insert(Entity.CustomerAddress obj)
 {
     DataLayer.CustomerAddressData.Insert(obj);
 }
Exemplo n.º 4
0
 public static void Update(Entity.CustomerAddress obj)
 {
     DataLayer.CustomerAddressData.Update(obj);
 }