Пример #1
0
        public Lancamento Add(Lancamento g)
        {
            if (g != null)
            {
                try
                {
                    repository.Add(g);
                    repository.Commit();
                    repository.Dispose();
                }
                catch (Exception e)
                {
                    throw;
                }
            }

            return(g);
        }