Пример #1
0
        public async Task <IActionResult> DeleteConfirmed(TPrimaryKey id)
        {
            await _banService.DeleteAsync(id, GetCurrentUserId());

            return(RedirectToAction("Index"));
        }