public Lancamento Add(Lancamento g) { if (g != null) { try { repository.Add(g); repository.Commit(); repository.Dispose(); } catch (Exception e) { throw; } } return(g); }
public Lancamento Add(Lancamento g) { if (g != null) { try { repository.Add(g); repository.Commit(); repository.Dispose(); } catch (Exception e) { throw; } } return(g); }