using MyWealthFirst.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MyWealthFirst.Controllers
{
public class HomeController : Controller
{
//
// GET: /Home/
CompanyContext CompanyContext = new CompanyContext();
public ActionResult Home()
{
return View();
}
public ActionResult About()
{
return View("");
}
public ActionResult Details(int id)
{
CompanyContext company = CompanyContext.Companyes.Single(c => c.id == id);
return View(CompanyContext);
}
}
}