Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | package br.gov.al.saude.scs.core.application.uf.impl; |
| 2 | |||
| 3 | import java.util.List; |
||
| 4 | |||
| 5 | import org.springframework.beans.factory.annotation.Autowired; |
||
| 6 | import org.springframework.stereotype.Service; |
||
| 7 | |||
| 8 | import br.gov.al.saude.scg.model.view.UfView; |
||
| 9 | import br.gov.al.saude.scs.core.application.uf.UfFacade; |
||
| 10 | import br.gov.al.saude.scs.core.domain.uf.UfService; |
||
| 11 | |||
| 12 | @Service |
||
| 13 | public class UfFacadeImpl implements UfFacade { |
||
| 14 | |||
| 15 | private UfService ufService; |
||
| 16 | |||
| 17 | @Autowired |
||
| 18 | public UfFacadeImpl(UfService ufService) { |
||
| 19 | this.ufService = ufService; |
||
| 20 | } |
||
| 21 | |||
| 22 | @Override |
||
| 23 | public List<UfView> listar() { |
||
| 24 | return ufService.listar(); |
||
| 25 | } |
||
| 26 | |||
| 27 | } |