Mercurial > silverbladetech
diff Library/LibrarySystem/Interfaces/ILibrary.cs @ 41:dbd242eb9c33
Initial wave of TDD development
author | adminsh@apollo |
---|---|
date | Tue, 03 Apr 2012 23:29:32 +0100 |
parents | |
children | aef06698d9e2 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Library/LibrarySystem/Interfaces/ILibrary.cs Tue Apr 03 23:29:32 2012 +0100 @@ -0,0 +1,15 @@ +using System.Collections.Generic; + +namespace LibrarySystem.Interfaces +{ + public interface ILibrary + { + string Location { get; set; } + IList<IStock> StockList { get; set; } + + void AddStock(params IBook[] books); + bool IsBookAvailableByISBN(string isbn); + IList<IStock> FindBooks(string searchString); + void LendBook(IPerson person, IBook book); + } +} \ No newline at end of file