public void Post(string nome) { try { using (MarcaRepository conexao = new MarcaRepository()) conexao.Post(nome); } catch (Exception e) { throw new Exception(e.Message); } }