public async Task <ActionResult> Restore([Required] List <Guid> ids, CancellationToken ct = default) { var attributes = await _orderStatusesService.GetListAsync(ids, ct); return(await ActionIfAllowed( () => _orderStatusesService.RestoreAsync(_userContext.UserId, attributes.Select(x => x.Id), ct), Roles.Orders, attributes.Select(x => x.AccountId))); }