using Microsoft.AspNetCore.Mvc; using VberAdmin.BaseSystem.Notifications; namespace VberAdmin.Web.Views.Shared.Components.UserNotificationSubscription; public class UserNotificationSubscriptionViewComponent : VberAdminViewComponent { private readonly INotificationAppService _notificationAppService; public UserNotificationSubscriptionViewComponent( INotificationAppService notificationAppService) { _notificationAppService = notificationAppService; } public async Task InvokeAsync() { var model = await _notificationAppService.GetNotificationSettings(); return View(model); } }