Exemple #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="customer"></param>
        /// <param name="state"></param>
        public void ChangeCustomerState(string customer, byte state)
        {
            var contexto = new ATLANEntities();

            try
            {
                contexto.usp_SYSFLEX_CHANGE_STATE_CUSTOMER(customer, state);
            }
            catch (Exception ex)
            {
                log.LogExeption("Ocurrió un error al intentar cambiar el estado del cliente: ", 1, ex);
                //throw;
            }
            finally
            {
                contexto.Dispose();
            }
        }