示例#1
0
 public JsonResult CreateEntity(string entityName = null)
 {
     if (entityName == null)
     {
         return(new JsonResult("参数为空"));
     }
     return(new JsonResult(bll.CreateEntity(entityName, _hostingEnvironment.ContentRootPath)));
 }
示例#2
0
 public JsonResult CreateEntity(string entityName = "")
 {
     if (entityName == null)
     {
         return(Json("参数为空"));
     }
     return(Json(bll.CreateEntity(entityName, _hostingEnvironment.ContentRootPath, "SelfServiceMachine.Entity")));
 }
示例#3
0
 public JsonResult CreateEntity(string entityName)
 {
     return(Json(bll.CreateEntity(entityName, BaseConfigModel.ContentRootPath)));
 }