@model IEnumerable<JsonRenderingMvcApplication.Models.BookModel>

@foreach (var item in Model)
{
    <div style="float:left; margin:5px; padding-left:5px" >
        <table>
            <tr>
                <th>Title</th>
                <td>@item.Title</td>
            </tr>
            <tr>
                <th>Author</th>
                <td>@item.Author</td>
            </tr>
            <tr>
                <th>Year</th>
                <td>@item.Year</td>
            </tr>
            <tr>
                <th>Price</th>
                <td>@item.Price</td>
            </tr>
        </table>
    </div>
}
