public async Task UpdateLogAsync(Log log) { if (!LogValidator.ValidateDefault(log)) { throw new InvalidOperationException(Resources.LogValidFailString); } await _logsRepository.UpdateLogAsync(log); }