//отображение формы добавления компании public ActionResult FormAddCompany() { Selects sel = new Selects(); ViewBag.positions = sel.SelectForms(); return(View()); }
public ActionResult FormUpCompany(int id, string name_of, string company_size, string legal_form_id) { Selects sel = new Selects(); ViewBag.positions = sel.SelectForms(); ViewBag.id_c = id; ViewBag.name_of_c = name_of; ViewBag.size_c = company_size; ViewBag.form_c = legal_form_id; return(View()); }