view Library/LibrarySystem/Interfaces/ILibrary.cs @ 96:188f8b366e87

Unit test project correctly setup as normal class library DLL.
author stevenhollidge <stevenhollidge@hotmail.com>
date Sat, 05 May 2012 13:29:56 +0100
parents aef06698d9e2
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);
    }
}