public async Task <BaseResponse <UpdatePassword> > ChangePassword(IUpdatePasswordRequest request)
        {
            var baseRequest = _baseRequestFactory.CreateBaseRequest(Guid.NewGuid(), DateTime.Now, Utilities.Constants.RequestTypes.UpdatePassword, new ChangePasswordRequestMessage(request));

            return(await _requestHandlerRepository.SendRequestAsync <BaseResponse <UpdatePassword> >(baseRequest._requestMessage.GetResponseRootName(), baseRequest));
        }
 public ChangePasswordRequestMessage(IUpdatePasswordRequest request)
 {
     NewPassword     = request.NewPassword;
     ConfirmPassword = request.ConfirmPassword;
 }