/// <summary>
 /// Constructor for servicefactory
 /// </summary>
 public ServiceFactory()
 {
     bookCopyRepo = repoFactory.GetBookCopyrepository();
     bookRepo = repoFactory.GetBookRepository();
     authorRepo = repoFactory.GetAuthorRepository();
     loanRepo = repoFactory.GetLoanRepository();
     memberRepo = repoFactory.GetMemberRepository();
 }
 public BookCopyService(RepositoryFactory repoFactory)
 {
     _bookCopyRepository = repoFactory.GetBookCopyRepository();
 }