refactor(backend): naming-convention
This commit is contained in:
		
							parent
							
								
									14e1508d00
								
							
						
					
					
						commit
						7a286f5650
					
				
					 23 changed files with 78 additions and 62 deletions
				
			
		|  | @ -22,8 +22,8 @@ export function mapToTeacherDTO(teacher: Teacher): TeacherDTO { | |||
|     }; | ||||
| } | ||||
| 
 | ||||
| export function mapToTeacher(TeacherData: TeacherDTO): Teacher { | ||||
|     const teacher = new Teacher(TeacherData.username, TeacherData.firstName, TeacherData.lastName); | ||||
| export function mapToTeacher(teacherDTO: TeacherDTO): Teacher { | ||||
|     const teacher = new Teacher(teacherDTO.username, teacherDTO.firstName, teacherDTO.lastName); | ||||
| 
 | ||||
|     return teacher; | ||||
| } | ||||
|  |  | |||
		Reference in a new issue