public async Task <IHttpActionResult> Add(AddOrUpdateProfileRequest request)
 {
     request.TenantId = 1;
     return(Ok(await _mediator.Send(request)));
 }
 public async Task <IHttpActionResult> Update(AddOrUpdateProfileRequest request)
 {
     request.TenantId = (await _userManager.GetUserAsync(User)).TenantId;
     return(Ok(await _mediator.Send(request)));
 }
 public async Task <IHttpActionResult> Update(AddOrUpdateProfileRequest request)
 {
     request.TenantUniqueId = Request.GetTenantUniqueId();
     return(Ok(await _mediator.Send(request)));
 }