view Library/LibrarySystem/Interfaces/ILibrary.cs @ 60:fc62c971a117

upload to blog
author Steven Hollidge <stevenhollidge@hotmail.com>
date Sat, 21 Apr 2012 21:19:39 +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);
    }
}