public static void Delete(int ContactId) { using (SimpleContactListEntities db = new SimpleContactListEntities()) { db.Contact_Delete(ContactId); } }