public async Task <IActionResult> AddMetadata(Metadata message)
        {
            Storeage storeage = Storeages.FirstOrDefault(x => x.Metadata.MessageId == message.MessageId);

            if (storeage == null)
            {
                return(NotFound());
            }
            storeage.Metadata = message;
            Console.WriteLine();
            return(Ok("Metadata Addet"));
        }
 public async Task <IActionResult> Test(Storeage message)
 {
     Storeages.Add(message);
     RabbitMQ.PublicMessage <IMessage>(message.Message);
     return(Ok());
 }