常用方法
常用方法
常用方法
常用方法
public async Task <IActionResult> OnPostAsync(int?id) { if (id == null) { return(NotFound()); } await _databaseLogic.DeleteAnswer(Answer); return(RedirectToPage("./Index")); }
public async Task <IActionResult> OnPostAsync(int?id) { if (id == null) { return(NotFound()); } await _databaseLogic.DeleteAnswer(Answer); return(RedirectToPage("./Index")); }