public void ChangePublishDates(long communityId, DateTime?startDate, DateTime?endDate) { ICommunityDac communityDac = this._communityDac; KeyValuePair <int, string> publishType = ItemTypeBc.Instance.GetPublishType(); communityDac.ChangePublishDates(communityId, startDate, endDate, publishType.Key); }