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

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);
    }
}