public async Task <IActionResult> ActivationAccount([FromBody] ActivationAccountRequest activation) { var result = await _accountService.ActivationAccountAsync(activation); var mapped = _mapper.Map <UserResponse>(result); await _hub.Clients.All.SendAsync(HubConstants.USER_ACTIVATED, mapped); return(Ok(new ApiOkResponse(mapped))); }