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); }
public void AddNotificationPreference(NotificationPreferenceDto notificationPreference) { Log.Debug("POST " + System.Reflection.MethodBase.GetCurrentMethod().Name + "() called."); _employeesService.AddNotificationPreference(notificationPreference); }