public ActionResult Company(Models.Company _c) { ViewModel.Company.Company company = new ViewModel.Company.Company(); if (ModelState.IsValid) { ViewBag.msg = company.Save(_c, 0); } return(View(company.Get(0))); }
public ActionResult Company() { ViewModel.Company.Company company = new ViewModel.Company.Company(); return(View(company.Get(0))); }