@model ParcelWeb.Core.Domain.DeliveryService @using ParcelWeb.Core; @{ ViewBag.Title = "Create"; }

Add Delivery Service

@using (Html.BeginForm("Create", "DeliveryServices", FormMethod.Post, new { @class = "form form-horizontal",enctype = "multipart/form-data", role = "form", })) { @Html.AntiForgeryToken()

Delivery Service Detail

@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Name, htmlAttributes: new { @class = "label-control col-md-3" })
@Html.EditorFor(model => model.Name, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Name, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Description, htmlAttributes: new { @class = "label-control col-md-3" })
@Html.EditorFor(model => model.Description, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Description, "", new { @class = "text-danger" })
Please select Image with correct formate and Dementions
Formats( jpg |.jpeg |.gif |.png|.bmp)      Recomended Size (114x50)
@Html.LabelFor(model => model.Active, htmlAttributes: new { @class = "label-control col-md-3" })
@Html.EditorFor(model => model.Active) @Html.ValidationMessageFor(model => model.Active, "", new { @class = "text-danger" })
Cancel
}
@Html.ActionLink("Back to List", "Index")
@section Scripts { @Scripts.Render("~/bundles/jqueryval") }