public static string StoreXml(XmlDocument xml, string uuid)
        {
            var filename = string.Format("{0}.xml", uuid);

            using (var ms = new MemoryStream())
            {
                xml.Save(ms);
                ms.Position = 0;
                AzureStorage.StoreFile(ms, filename, "invoices");
            }
            return(filename);
        }
        public static string StorePdf(string base64Buffer, string uuid)
        {
            var filename = string.Format("{0}.pdf", uuid);
            var buffer   = Convert.FromBase64String(base64Buffer);

            using (var ms = new MemoryStream())
            {
                ms.Write(buffer, 0, buffer.Length);
                ms.Position = 0;
                AzureStorage.StoreFile(ms, filename, "invoices");
            }
            return(filename);
        }