public Metadata Save(Metadata metadata)
        {
            this.context.Metadata.Add(metadata);
            this.context.SaveChanges();

            return metadata;
        }
 public static MetadataInfo FromMetadata(Metadata metadata)
 {
     return new MetadataInfo
     {
         Id = metadata.Id,
         FileName = metadata.FileName,
         AtUtc = metadata.AtUtc,
         ProcessingResult = metadata.ProcessingResult
     };
 }