public IActionResult NotificationPreferences() { var currentUser = User.CurrentId(); return(Json(_dbService.GetNotificationPreferences(currentUser) ?? new NotificationPreferences() { User = currentUser })); }
public IActionResult NotificationPreferences() { var currentUser = User.CurrentId(); return(Json(_dbService.GetNotificationPreferences(currentUser) ?? new NotificationPreferences() { User = currentUser })); }