Skip to content

Instantly share code, notes, and snippets.

@Hollyw00d
Created May 11, 2018 20:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Razor Example
@model ViewBag.Title = "Random";
@{
ViewBag.Title = "Random";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>@Model.Name</h2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment