public async Task <IActionResult> AddOrUpdate(Categories contentEntry) { ViewData["DataType"] = typeof(Categories); await contentBusiness.CreateCategoryWidth(contentEntry, "知识库"); return(RedirectToAction("Index")); }
public async Task <IActionResult> AddOrUpdate(Categories contentEntry) { ViewData["DataType"] = typeof(Categories); await contentBusiness.CreateCategoryWidth(contentEntry, "知识库"); return(RedirectToAction("Index")); }