From d1ac3edb2e082b9d38ac5a9f785cdb96d5a1c60b Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 18 Oct 2021 12:46:53 +0200 Subject: [PATCH] Aggiunta metodi pubblicati --- GPW.Api/GPW.Api/Controllers/VC19Controller.cs | 3 ++- GPW.Api/GPW.Api/VC19Check.cs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/GPW.Api/GPW.Api/Controllers/VC19Controller.cs b/GPW.Api/GPW.Api/Controllers/VC19Controller.cs index cd94213..cbe8129 100644 --- a/GPW.Api/GPW.Api/Controllers/VC19Controller.cs +++ b/GPW.Api/GPW.Api/Controllers/VC19Controller.cs @@ -50,7 +50,8 @@ namespace GPW.Api.Controllers { DTRecord = DateTime.Now, CheckRecorded = true, - TimbrRecorder = true + TimbrRecorder = true, + Result = $"OK, Check Recorded for {DecodedData.Cognome} {DecodedData.Nome} {DecodedData.DOB:yyyy.MM.dd}" }; return answ; } diff --git a/GPW.Api/GPW.Api/VC19Check.cs b/GPW.Api/GPW.Api/VC19Check.cs index 5220eac..ddb6f6a 100644 --- a/GPW.Api/GPW.Api/VC19Check.cs +++ b/GPW.Api/GPW.Api/VC19Check.cs @@ -13,8 +13,8 @@ namespace GPW.Api #region Public Properties public bool CheckRecorded { get; set; } = true; - public DateTime DTRecord { get; set; } = DateTime.Now; + public string Result { get; set; } = ""; public bool TimbrRecorder { get; set; } = false; #endregion Public Properties