Exemplo n.º 1
0
        public static Int32 UpdateContactState(Int32 contactId, bool isAvailable, string state, Int32 callId)
        {
            ContactStateDSTableAdapter ta = new ContactStateDSTableAdapter();

            ta.Connection.ConnectionString = UcConnection.ConnectionString;


            System.Nullable <Int32> call_id = Helper.ResolveEmptyInt(callId);

            return(ta.Update(contactId, isAvailable, state, call_id));
        }