public async Task <IActionResult> Delete(int id) { var result = await _clientAppService.DeleteByIdAsync(id, CurrentUser.UserId); return(Json(result)); }