Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
using MvcSample.Web.Models;
namespace MvcSample.Web
{
public class HomeController
{
public User Index()
{
var user = new User
{
Name = "Test",
Address = "My address"
};
return user;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment