Mercurial > silverbladetech
comparison 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 |
comparison
equal
deleted
inserted
replaced
42:0d4aff4f699d | 43:aef06698d9e2 |
---|---|
2 | 2 |
3 namespace LibrarySystem.Interfaces | 3 namespace LibrarySystem.Interfaces |
4 { | 4 { |
5 public interface ILibrary | 5 public interface ILibrary |
6 { | 6 { |
7 string Location { get; set; } | 7 string Location { get; } |
8 IList<IStock> StockList { get; set; } | 8 IList<IStock> StockList { get; } |
9 | 9 |
10 void AddStock(params IBook[] books); | 10 void AddStock(params IBook[] books); |
11 bool IsBookAvailableByISBN(string isbn); | 11 bool IsBookAvailableByISBN(string isbn); |
12 IList<IStock> FindBooks(string searchString); | 12 IList<IStock> FindBooks(string searchString); |
13 void LendBook(IPerson person, IBook book); | 13 IBook GetBookById(string id); |
14 void LendBook(IPerson person, string id); | |
14 } | 15 } |
15 } | 16 } |