public IActionResult OnGetConfirm(long id) { var result = _commentApplication.Confirm(id); if (result.IsSucceeded) { return(RedirectToPage("./Index")); } Message = result.Message; return(RedirectToPage("./Index")); }
public RedirectToPageResult OnPostConfirm(long id) { _commentApplication.Confirm(id); return(RedirectToPage("./List")); }
public IActionResult OnPostConfirm(long id) { var result = _commentApplication.Confirm(id); return(RedirectToPage("./Index")); }
public IActionResult OnPostConfirm(int id) { _commentApplication.Confirm(id); return(RedirectToPage("Index")); }
public IActionResult OnGetConfirm(long id) { var operationResult = _commentApplication.Confirm(id); return(RedirectToPage("Index")); }