public IActionResult GetAll()
 => Response(_socialNotificationTypeRepository.GetAll());
        private void RegisterUserSocialNotificationTypes(User user)
        {
            var socialNotificationType = _socialNotificationTypeRepository.GetAll().FirstOrDefault(x => x.Code.Equals(SocialNotificationTypeConfiguration.Email));

            _userSocialNotificationTypeRepository.Add(new UserSocialNotificationType(Guid.NewGuid(), socialNotificationType.Id, user.Id));
        }