public virtual NotifierSettingsModel Get(int activityType, int notificationType)
        {
            ActivityEventIdentity activityEventIdentity;
            NotifierSettingsModel settings;
            var actType = _activityTypeProvider[activityType];

            if (activityType == CommunicationTypeEnum.CommunicationSettings.ToInt())
            {
                actType = CommunicationTypeEnum.CommunicationSettings;
                activityEventIdentity = new ActivityEventIdentity(actType, _notificationTypeProvider[notificationType]);
                settings = _notificationSettingsService.GetSettings(activityEventIdentity);
                if (notificationType.In(NotificationTypeEnum.MonthlyMail.ToInt()))
                {
                    settings.UiNotifierSetting    = null;
                    settings.PopupNotifierSetting = null;
                }

                return(settings);
            }

            if (activityType == CommunicationTypeEnum.Member.ToInt())
            {
                actType = CommunicationTypeEnum.Member;
                activityEventIdentity = new ActivityEventIdentity(actType, _notificationTypeProvider[notificationType]);
                settings = _notificationSettingsService.GetSettings(activityEventIdentity);
                if (notificationType.In(NotificationTypeEnum.Welcome.ToInt()))
                {
                    settings.UiNotifierSetting    = null;
                    settings.EmailNotifierSetting = null;
                }

                return(settings);
            }

            activityEventIdentity = new ActivityEventIdentity(actType, _notificationTypeProvider[notificationType]);

            settings = _notificationSettingsService.GetSettings(activityEventIdentity);
            settings.PopupNotifierSetting = null;

            return(settings);
        }