Exemple #1
0
        public async Task <IHttpActionResult> UpdateNotificationSettings([FromBody] ProfileEditNotificationSettings settings)
        {
            await _profileService.UpdateNotificationSettings(settings);

            return(Ok());
        }
        public async Task UpdateNotificationSettings(ProfileEditNotificationSettings settings)
        {
            var member = await _intranetMemberService.GetCurrentMemberAsync();

            await _memberNotifiersSettingsService.SetForMemberAsync(member.Id, settings.NotifierTypeEnum, settings.IsEnabled);
        }