Пример #1
0
        public static TaskEmailPostHistoryItem GetTaskEmailPostHistoryItem(LoginUser loginUser, int taskEmailPostID)
        {
            TaskEmailPostHistory taskEmailPostHistory = new TaskEmailPostHistory(loginUser);

            taskEmailPostHistory.LoadByTaskEmailPostID(taskEmailPostID);
            if (taskEmailPostHistory.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(taskEmailPostHistory[0]);
            }
        }
Пример #2
0
 public TaskEmailPostHistoryItem(DataRow row, TaskEmailPostHistory taskEmailPostHistory) : base(row, taskEmailPostHistory)
 {
     _taskEmailPostHistory = taskEmailPostHistory;
 }