Vidhi Patel

Vidhi Patel

  • NA
  • 44
  • 17.6k

can not type implicity how to solve it

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