public static int InsereOcorrencia(Ocorrencia o) { try { return(Ocorrencias.InsereOcorrencia(o)); } catch (Exception e) { throw new Exception("Erro ao inserir ocorrencia: " + e.Message); } }
public static int InsereOcorrencia(Ocorrencia o) { try { return(Ocorrencias.InsereOcorrencia(o)); } catch (Exception e) { throw new Exception("Erro ao inserir ocorrencia: " + e.Message); } }