Exemple #1
0
 /// <summary>
 /// 删除操作码
 /// </summary>
 /// <param name="dto"></param>
 public void DeleteForm(ModuleOperateDeleteInputDto dto)
 {
     if (!string.IsNullOrEmpty(dto.Id))
     {
         _sysModuleOperateRepository.Delete(dto.Id);
     }
 }
 // [DisableAbpAntiForgeryTokenValidation]
 public ActionResult DeleteForm(ModuleOperateDeleteInputDto deleteDto)
 {
     _sysModuleOperateApp.DeleteForm(deleteDto);
     return(Json(new { state = ResultType.success.ToString(), message = "删除成功!" }));
 }