示例#1
0
        public void AddNotificationPreference(NotificationPreferenceDto notificationPreference)
        {
            Log.Debug(System.Reflection.MethodBase.GetCurrentMethod().Name +
                "() traced. Added Notification Preference for: " + notificationPreference.EmployeeId);

            var notificationsRepository = new NotificationsRepository();
            notificationsRepository.AddNotificationPreference(notificationPreference);
        }
示例#2
0
        public void AddNotificationPreference(NotificationPreferenceDto notificationPreference)
        {
            Log.Debug("POST " + System.Reflection.MethodBase.GetCurrentMethod().Name + "() called.");

            _employeesService.AddNotificationPreference(notificationPreference);
        }