Exemple #1
0
        public GenericResult <bool> DeleteCodigos(int contaId)
        {
            GenericResult <bool> result = new GenericResult <bool>();

            try
            {
                service.DeleteCodigos(contaId);
            }
            catch (Exception ex)
            {
                result.Errors = new string[] { ex.Message };
            }

            return(result);
        }