public List <JoinBorrow> BorrowHistory() { if (account.AccountLevel < AccountLevelEnums.Librarian) { return(new List <JoinBorrow>()); } return(BorrowMehod.Read()); }
public JoinBorrow BorrowHistory(int id) { bool isValid = id > 0 && account.AccountLevel >= AccountLevelEnums.Librarian; if (!isValid) { throw new NotImplementedException(); } return(BorrowMehod.Read(id)); }