private void ControllerOnMessage(IModel model)
        {
            _currentRecieveStatus = EControllerStatus.None;

            switch (model.ControllerStatus)
            {
            case EControllerStatus.Ok:
                GetMessage(model);
                break;

            case EControllerStatus.Processing:
                CheckEditProfileResponse?.Invoke(EUserSettingsResponseState.Processing);
                _currentRecieveStatus = EControllerStatus.Processing;
                break;

            case EControllerStatus.NoConnection:
                CheckEditProfileResponse?.Invoke(EUserSettingsResponseState.NoConnection);
                break;

            case EControllerStatus.Error:
            case EControllerStatus.None:
            default:
                CheckEditProfileResponse?.Invoke(EUserSettingsResponseState.Error);
                break;
            }
        }
        private void GetMessage(IModel editProfileModel)
        {
            if (editProfileModel is DataModelUserInfo model && model.Status == EUserSettingsResponseState.Success)
            {
                _currentRecieveStatus = EControllerStatus.None;

                CheckEditProfileResponse?.Invoke(model.Status);
                ReceiveUserData?.Invoke(model);
            }
        }