Skip to content

Instantly share code, notes, and snippets.

@pderendinger-everse
Created May 23, 2022 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pderendinger-everse/dc0b494af47e25c813ca1606ac5127e1 to your computer and use it in GitHub Desktop.
Save pderendinger-everse/dc0b494af47e25c813ca1606ac5127e1 to your computer and use it in GitHub Desktop.
public class Function
{
/// <summary>
/// Creates a PDF based on parameters
/// </summary>
/// <param name="Parameters"></param>
/// <param name="context"></param>
/// <returns></returns>
public string FunctionHandler(Dictionary<string?, string?> Parameters, ILambdaContext context)
{
try
{
Tax _tax= new Tax(Parameters);
_tax.PostPDF();
}
catch (Exception ex)
{
LambdaLogger.Log("Error: " + ex.Message);
}
return "OK";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment