/// <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(); } }