public string Index(string name)
 {
     //var helloService = new HelloService();
     //return helloService.Greeting(name);
     return(_helloService.Greeting(name));
 }
 public string Handle(SampleEventAndResponseFunctionInput input, ILambdaContext context)
 {
     // TODO ビジネスロジックを呼び出す場合は、コンストラクタインジェクションにより取得してください。
     return($"{input?.Key1} And {_service.Greeting()}");
 }
Beispiel #3
0
 /// <summary>
 /// メイン処理
 /// </summary>
 protected override void Main()
 {
     Console.WriteLine(_service.Greeting());
     Console.WriteLine(_appSettings.SampleSettings.Key); // Sample Code
 }
Beispiel #4
0
 public string Hello(string name)
 {
     return(_helloService.Greeting(name));
 }
 /// <summary>
 /// メイン処理
 /// </summary>
 protected override void Main()
 {
     Logger.LogInformation(_service.Greeting());
     Logger.LogInformation(_appSettings.SampleSettings.SampleKey); // Sample Code
 }