Created
May 23, 2022 17:51
-
-
Save pderendinger-everse/dc0b494af47e25c813ca1606ac5127e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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