@model Project_Unite.Models.UploadImageViewModel @{ ViewBag.Title = "Upload avatar"; }

Upload an avatar

Let's put a face on your profile, shall we? Upload an image from your local computer and we'll display it as your avatar.

@using (Html.BeginForm("UploadAvatar", "Manage", null, FormMethod.Post, new { enctype = "multipart/form-data" })) { @Html.AntiForgeryToken() @Html.ValidationSummary()

File to upload: @Html.TextBoxFor(Model=>Model.Image, new { @class = "form-control", type = "file" })

}