public async Task InvokeAsync(HttpContext context, IUserAccessor userAccessor, INotifyService notifyService)
        {
            await this.next(context);

            if (context.User.Identity.IsAuthenticated && context.Response.StatusCode == StatusCodes.Status204NoContent)
            {
                var notification = await this.redisNotificationService.Get(userAccessor.UserId);

                if (notification != null)
                {
                    await notifyService.SendUserPushNotification(notification.Header, notification.Content, notification.Type.ToString());
                }
            }
        }