public async Task CommitOk(Inspection inspection) { inspection.InspectionDate = DateTime.Now; inspection.StatusCode = 0; await _inspectionRepository.Commit(inspection); }