2
Reply

can not type implicity how to solve it

Vidhi Patel

Vidhi Patel

Sep 15 2016 5:27 AM
230
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);
}
}
}

Answers (2)