public BookController() { var repo = new Repository(); _bookBLL = new BookBLL(repo); _authorBLL = new AuthorBLL(repo); _publisherBLL = new PublisherBLL(repo); }
public BookBLLTest() { var repo = new Repository(); publisherBLL = new PublisherBLL(repo); authorBLL = new AuthorBLL(repo); bookBLL = new BookBLL(repo); author = authorBLL.List().FirstOrDefault(); publisher = publisherBLL.List().FirstOrDefault(); }
public AuthorController() { _authorBLL = new AuthorBLL(new Repository()); }
public void InitializeBLL() { bll = new AuthorBLL(); }