Beispiel #1
0
        public void DeleteDate()
        {
            GetData();

            foreach (Author a in authors)
            {
                Assert.IsTrue(ra.DeleteAuthorByID((int)a.ID), "Assert on DeleteAuthor");
            }

            foreach (Member m in members)
            {
                Assert.IsTrue(rm.DeleteMemberByID((int)m.ID), "Assert on DeleteMember");
            }
        }
Beispiel #2
0
 public bool DeleteAuthor(Author author)
 {
     refreshRepository();
     return(ra.DeleteAuthorByID((int)author.ID));
 }