byte[] RunPdf() { var model = new Example { Name = "Alex", Email = "*****@*****.**", Values = new Dictionary<object, object> { { "Compiled", "No" }, { "Worked", "Yes" } }, Image = GetTestImage() }; return builder.BuildPdf (model); }
string RunCompiled() { var model = new Example { Name = "Alex", Email = "*****@*****.**", Values = new Dictionary<object, object> { { "Compiled", "Yes" }, { "Worked", "Yes" } }, Image = GetTestImage () }; return precompilingBuilder.BuildReport (model); }