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); }