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"); } }
public bool DeleteAuthor(Author author) { refreshRepository(); return(ra.DeleteAuthorByID((int)author.ID)); }