how to insert record using dropdownlist asp.net mvc :     the controller:
 [HttpPost]
        public ActionResult Index(Account account, FormCollection fc)
        {
        
        
            using (accountgoEntities entities = new accountgoEntities())
            {

                entities.Account.Add(account);
                entities.SaveChanges();
                int id = account.Id;
            }
            //return View(Account);
                  return  RedirectToAction("Account_details");
        }
the:view:

     <div class="form-group">
                <strong class="strong">company name  </strong>
                <div class="col-md-10">
                    @Html.DropDownList("CompanyName", (IEnumerable<SelectListItem>)ViewBag.CompanyName, "chose", new { @class = "form-control" })

                    @Html.ValidationMessageFor(model => model.Company.Name, "", new { @class = "text-danger" })
                </div>
            </div>