diff Library/LibrarySystem/Interfaces/ILibrary.cs @ 43:aef06698d9e2 Test

Added the library tests
author Steven Hollidge <stevenhollidge@hotmail.com>
date Wed, 04 Apr 2012 19:20:20 +0100
parents dbd242eb9c33
children
line wrap: on
line diff
--- a/Library/LibrarySystem/Interfaces/ILibrary.cs	Tue Apr 03 23:32:40 2012 +0100
+++ b/Library/LibrarySystem/Interfaces/ILibrary.cs	Wed Apr 04 19:20:20 2012 +0100
@@ -4,12 +4,13 @@
 {
     public interface ILibrary
     {
-        string Location { get; set; }
-        IList<IStock> StockList { get; set; }
+        string Location { get; }
+        IList<IStock> StockList { get; }
 
         void AddStock(params IBook[] books);
         bool IsBookAvailableByISBN(string isbn);
         IList<IStock> FindBooks(string searchString);
-        void LendBook(IPerson person, IBook book);
+        IBook GetBookById(string id);
+        void LendBook(IPerson person, string id);
     }
 }
\ No newline at end of file