public ActionResult ChangeApiPassword(string currentPassword, string newPassword, string confirmPassword)
        {
            try
            {
                if (newPassword != confirmPassword)
                    throw new ExceptionDataAdminSaveConfirmPasswordDontMatch();

                License license = new License();
                Preferences pr = this.PreferencesInSession;

                license.ChangeApiPassword(currentPassword, newPassword, pr.InfoPipe.AppPrefs);
                return null;
            }
            catch (Exception ex)
            {
                if (ex is ExceptionExtended)
                    return Json(new ErrorDTO((ex as ExceptionExtended)));
                else
                    return Json(new ErrorDTO(new ExceptionUnknownAdminSave(ex)));
            }
        }