public async Task <IHttpActionResult> GetById([FromUri] GetProfileByIdRequest request)
 {
     request.TenantId = (await _userManager.GetUserAsync(User)).TenantId;
     return(Ok(await _mediator.Send(request)));
 }
 public async Task <IHttpActionResult> GetById([FromUri] GetProfileByIdRequest request)
 {
     request.TenantUniqueId = Request.GetTenantUniqueId();
     return(Ok(await _mediator.Send(request)));
 }