public LogEntryEntity UpdateLogEntry(LogEntryEntity logEntryEntity) { logEntryEntity.UpdatedDate = DateTime.Now; logEntryEntity.UpdatedUtcdate = DateTime.UtcNow; var newLogEntry = PrepareEntityToModel(logEntryEntity); _logEntry.UpdateLogEntry(newLogEntry); logEntryEntity.Id = newLogEntry.Id; return(logEntryEntity); }