Пример #1
0
 internal async void SaveOperatorAcknowledgementToDisclaimer(string badge, bool agreed, string deviceId, string sessionId, DateTime incidentDateTime)
 {
     InvalidateOperator(badge);
     var obj = new Confirmation
     {
         Badge            = badge,
         Agreed           = agreed,
         IncidentDateTime = incidentDateTime,
         DeviceId         = deviceId,
         Active           = true
     };
     await RestroomUnitOfWork.SaveConfirmationAsync(obj);
 }