Пример #1
0
 public ActionsAud(LogActionDTO log)
 {
     Message           = log.Message;
     Origin            = log.Origin;
     DoneBy            = log.DoneBy;
     DoneByCompanyName = log.DoneByCompanyName;
     LogTime           = DateTime.Now;
 }
Пример #2
0
 public bool LogAction([FromBody] LogActionDTO log)
 {
     log.LogTime = DateTime.Now;
     new ActionsAud(log).InsertDocument("FlourishAUD_DB");
     return(true);
 }