public async Task PushNotification(PushNotificationRequestModel request)
        {
            List <Task> listOfTasks = new List <Task>();
            var         items       = _mongoRepo.Find(p => p.IdentityEmail == request.Email);

            var payload = payloadToString(request.Payload);

            foreach (var item in items)
            {
                listOfTasks.Add(NofityUser(item, payload));
            }
            await Task.WhenAll(listOfTasks);
        }
 public async Task PushNotification([FromBody] PushNotificationRequestModel request)
 {
     _logger.LogDebug("looking for " + request.Email);
     await _pushNotificationService.PushNotification(request);
 }