public SmsHistory(int smsHistoryId) { SqlDataReader reader = new SmsHistoryData().GetSmsHistoryByID(smsHistoryId); if (reader.Read()) LoadSmsHistory(reader); reader.Close(); }
public SmsHistory(string smsSid) { SqlDataReader reader = new SmsHistoryData().GetSmsHistoryBySID(smsSid); if (reader.Read()) LoadSmsHistory(reader); reader.Close(); }
private void SaveSmsHistory(string userId) { _smsHistoryId = new SmsHistoryData().SaveSmsHistory(userId, _smsHistoryId, _smsSid, _communicationId, _personId); }