@model test.Models.Entities.Product

<div class="item">
    <h3>@Model.Name</h3>
    @Model.Description

    @using (Html.BeginForm("AddToCart", "Cart"))
    {
        @Html.HiddenFor(x=>x.Id) 
        @Html.Hidden("returnUrl",Request.Url.PathAndQuery) 
        <input type="submit" value="Dodaj do koszyka" />
    }
    <h4>@Model.Price.ToString("c")</h4>
</div>

