public void Post(Fornecedor fornecedor)
 {
     _connection.ExecuteProcedure(Procedure.InsFornecedor);
     _connection.AddParameter("Nome_Forn", fornecedor.Nome_Forn);
     _connection.AddParameter("CpfCnpj_Forn", fornecedor.CpfCnpj_Forn);
     _connection.AddParameter("IndFisJuri_Forn", fornecedor.IndFisJuri_Forn);
     _connection.AddParameter("Logra_Forn", fornecedor.Logra_Forn);
     _connection.AddParameter("LograNum_Forn", fornecedor.LograNum_Forn);
     _connection.AddParameter("Bairro_Forn", fornecedor.Bairro_Forn);
     _connection.AddParameter("Cid_Forn", fornecedor.Cid_Forn);
     _connection.AddParameter("Est_Forn", fornecedor.Est_Forn);
     _connection.AddParameter("Comple_Forn", fornecedor.Comple_Forn);
     _connection.AddParameter("Tel_Forn", fornecedor.Tel_Forn);
     _connection.AddParameter("Cel_Forn", fornecedor.Cel_Forn);
     _connection.AddParameter("Email_Forn", fornecedor.Email_Forn);
     _connection.AddParameter("Cep_Forn", fornecedor.Cep_Forn);
     _connection.AddParameter("Inscr_Forn", fornecedor.Inscr_Forn);
     _connection.ExecuteNonQuery();
 }
 public ActionResult Edit(Fornecedor fornecedor)
 {
     _fornecedorRepository.Put(fornecedor);
     return View("FiltroFornecedor");
 }
 public ActionResult Create(Fornecedor fornecedor)
 {
     _fornecedorRepository.Post(fornecedor);
     return View("FiltroFornecedor");
 }