view 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 source

using System.Collections.Generic;

namespace LibrarySystem.Interfaces
{
    public interface ILibrary
    {
        string Location { get; }
        IList<IStock> StockList { get; }

        void AddStock(params IBook[] books);
        bool IsBookAvailableByISBN(string isbn);
        IList<IStock> FindBooks(string searchString);
        IBook GetBookById(string id);
        void LendBook(IPerson person, string id);
    }
}