public void Update(NotifierTypeEnum type, bool isEnabled) { var currentMember = _intranetMemberService.GetCurrentMember(); _memberNotifiersSettingsService.SetForMember(currentMember.Id, type, isEnabled); }
public OutOfRangeNotifierConfigurationException(NotifierTypeEnum notifierType) : base($"Configuration for {notifierType} is specified more than 1 times") { }
public MissingNotifierException(NotifierTypeEnum notifierType, Enum notificationType) : base($"Can not find notifier {notifierType} to notify by {notificationType.ToString()}") { }
public MissingNotifierConfigurationException(NotifierTypeEnum notifierType) : base($"Configuration for notifier {notifierType} is missing") { }
private ActivityEventNotifierIdentity GetActivityEventNotifierIdentity(NotifierTypeEnum notifierType, IntranetActivityTypeEnum activityType, Enum notificationType) { var activityEventIdentity = new ActivityEventIdentity(activityType, notificationType); return(new ActivityEventNotifierIdentity(activityEventIdentity, notifierType)); }