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