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