public async Task <IActionResult> DeleteForm(string keyValue) { await dbBackupApp.Delete(keyValue); return(Success("删除成功。")); }
public IActionResult Delete(int id) { dbBackupService.Delete(id); return(Success()); }