Пример #1
0
        //public ActionResult SaveEditDbTag(DbTagInput tag)
        //{
        //    try
        //    {
        //        _dbTagAppService.InsertOrUpdateDbTag(tag);
        //        return Json("保存成功");
        //    }
        //    catch (Exception e)
        //    {
        //        throw new Exception(e.Message);
        //    }
        //}

        #endregion

        #region 数据库管理

        public ActionResult InserDbServer()
        {
            var model = new DbServerInput();

            ViewBag.DbType = _dbTypeAppService.GetDropDownList();
            return(View("Easyman.FwWeb.Views.DbServer.EditDbServer", model));
        }
Пример #2
0
        public ActionResult EditPreDataType(long?id)
        {
            ViewBag.DbType = _dbTypeAppService.GetDropDownList();
            var data = new PreDataTypeInput();

            if (id != null)
            {
                data = _preDataTypeAppService.Get(id.Value);
            }
            return(View("Easyman.FwWeb.Views.Import.EditPreDataType", data));
        }