예제 #1
0
        //отображение формы добавления компании
        public ActionResult FormAddCompany()
        {
            Selects sel = new Selects();

            ViewBag.positions = sel.SelectForms();
            return(View());
        }
예제 #2
0
        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());
        }