Ejemplo n.º 1
0
        public int SalvarOuAlterar(ReclassificacaoRetencaoEvento entity, int resource, short action)
        {
            try
            {
                entity.Id = _repository.Save(entity);

                return(entity.Id);
            }
            catch (Exception ex)
            {
                throw SaveLog(ex, action, resource);
            }
        }
        public int SalvarOuAlterar(ProgramacaoDesembolsoEvento entity, int resource, short action)
        {
            try
            {
                entity.Id = _repository.Save(entity);

                return(entity.Id);
            }
            catch (Exception ex)
            {
                throw SaveLog(ex, action, resource);
            }
        }