public IEnumerable <int> GetNewWebVisitNotifications(int userId, int accountId) { GetUserNotificationCountResponse response = userService.GetUnReadWebVisitNotificationsCount( new GetUserNotificationCountRequest() { RequestedBy = userId, AccountId = accountId }); return(response.NotificationIds); }
public int GetNewNotifications(int userId, int accountId, short roleId) { GetUserNotificationCountResponse response = userService.GetUnReadNotificationsCount( new GetUserNotificationCountRequest() { RequestedBy = userId, AccountId = accountId, RoleId = roleId }); return(response.Count); }