public int Salvar(Anomalias anomalias)
 {
     try
     {
         _Banco.Entry<Anomalias>(anomalias).State = EntityState.Added;
         return SalvarMudancas();
     }
     catch (CustomException erro) { throw new CustomException(erro.Message); }
     catch (Exception erro) { throw new Exception(erro.Message); }
 }
 public frmCriarAnomalias(Anomalias anomalias, EnumAnomalia enumAnomalia)
 {
     _anomalias = anomalias;
     _enumAnomalia = enumAnomalia;
     InitializeComponent();
 }