Exemple #1
0
 public void UpdateBitacora(BackEnd.ENTITIES.Bitacora bitacora)
 {
     using (context = new BDContext())
     {
         context.Entry(bitacora).State = System.Data.Entity.EntityState.Modified;
         context.SaveChanges();
     }
 }
Exemple #2
0
 public void AddBitacora(BackEnd.ENTITIES.Bitacora bitacora)
 {
     using (context = new BDContext())
     {
         context.Bitacora.Add(bitacora);
         context.SaveChanges();
     }
 }