public IHttpActionResult ChangeUserPassword(long userId, ChangePasswordModel model)
        {
            try
            {
                if (model == null)
                {
                    throw _exception.ThrowException(System.Net.HttpStatusCode.BadRequest, "", "Ogiltig förfrågan.");
                }

                model.UserId = userId;
                _accessTokenService.ChangeOldPassword(model);
                return(Ok(new { Message = "Lösenordet är utbytt." }));
            }
            catch (Exception ex)
            {
                _log.ErrorFormat("Error in changing old user password. Error : {0}", ex.Message);
                _log.Error(ex);
                throw;
            }
        }