public void AnularFactura(int idFactura) { using (var bd = new GreenlifeEntities()) { var courseList = bd.spAnularFactura(idFactura); bd.SaveChanges(); } }