taskManagerApiRest/src/main/java/com/salvador/thiago/taskManagerApiRest/service/TaskService.java
public List<TaskDto> findAll() {
		List<Task> lits = repository.findAll();
		List<TaskDto> listOfPostDTO = ObjectMapperUtils.mapAll(lits, TaskDto.class);
		return listOfPostDTO;
	}
/**
	   * <p> Method responsible for fetching all tasks and 
	   * sending and validating data received from the 
	   * persistence layer.
	   * 
	   * Maps one object to another using modelMapper
	   * <p>
	   * 
	   * @return List<TaskDto>
	   */
 Method responsible for fetching all tasks and
sending and validating data received from the
persistence layer.

Maps one object to another using modelMapper


@return List
Method responsible for fetching all tasks and sending and validating data received from the persistence layer . Maps one object to another using modelMapper @return List
public List<TaskDto> findAll() {
		List<Task> lits = repository.findAll();
		List<TaskDto> listOfPostDTO = ObjectMapperUtils.mapAll(lits, TaskDto.class);
		return listOfPostDTO;
	}
public List < TaskDto > findAll ( ) { List < Task > lits = repository . findAll ( ) ; List < TaskDto > listOfPostDTO = ObjectMapperUtils . mapAll ( lits , TaskDto . class ) ; return listOfPostDTO ; }
<p> Method responsible for fetching all tasks and
 sending and validating data received from the
 persistence layer.
<p > Method responsible for fetching all tasks and sending and validating data received from the persistence layer .