public async Task <IActionResult> DeleteConfirmed(TPrimaryKey id) { await _banService.DeleteAsync(id, GetCurrentUserId()); return(RedirectToAction("Index")); }
public async Task <IActionResult> DeleteConfirmed(TPrimaryKey id) { await _banService.DeleteAsync(id, GetCurrentUserId()); return(RedirectToAction("Index")); }