public void ReportDefect(Guid userId, int scooterId, string defectDescription) { if (UserCanReportDefect(userId, scooterId)) { _scooterRepository.ReportDefect(scooterId); var defect = new Defect(userId, scooterId, defectDescription, false); _defectRepository.AddDefect(defect); } }