Created
July 4, 2017 01:36
-
-
Save BrunoDSouza/1601667539f5ba7bb8bb35b8dd84c08f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Controller | |
@RequestMapping("/fornecedor") | |
public class FornecedorController { | |
@Autowired | |
Fornecedores fornecedores; | |
@GetMapping("/novo") | |
public ModelAndView novo(Fornecedor fornecedor){ | |
// to do | |
} | |
@PostMapping("/salvar") | |
public ModelAndView novo(Fornecedor fornecedor){ | |
// to do | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment