コード例 #1
0
ファイル: ShowFormController.cs プロジェクト: lolegg/Cupcake
        public ActionResult Create(string tablename)
        {
            ShowFormModel model = new ShowFormModel();

            model.TableName = tablename;

            return(View(model));
        }
コード例 #2
0
ファイル: ShowFormController.cs プロジェクト: lolegg/Cupcake
        public ActionResult Edit()
        {
            string strTableName = Request.QueryString["tablename"];
            string strId        = Request.QueryString["id"];

            ShowFormModel model = new ShowFormModel();

            model.TableName = strTableName;
            model.Id        = strId;

            return(View(model));
        }