public async Task <JsonResult> Delete(int[] ids) { await _playerService.Archive(ids, (await GetUserAsync()).Id); return(Json(new object())); }
public IActionResult Archive(int id) { _playerService.Archive(id); return(Ok( )); }