public ActionHistory(ActionHistory actionHistory) { Id = actionHistory.Id; Action = new Action(actionHistory.Action); Old_Status = actionHistory.Old_Status; New_Status = actionHistory.New_Status; Comments = actionHistory.Comments; Show_To_Customer = actionHistory.Show_To_Customer; Time_Spent = actionHistory.Time_Spent; Action_Date = actionHistory.Action_Date; History_Attachments = new List<Attachment>(actionHistory.History_Attachments); Action_Performer = new ActionHistoryPerformer(actionHistory.Action_Performer); Cc_Csr = actionHistory.Cc_Csr; Cc_Customer = actionHistory.Cc_Customer; }
public ActionHistory(ActionHistory actionHistory) { Id = actionHistory.Id; Action = new Action(actionHistory.Action); Old_Status = actionHistory.Old_Status; New_Status = actionHistory.New_Status; Comments = actionHistory.Comments; Show_To_Customer = actionHistory.Show_To_Customer; Time_Spent = actionHistory.Time_Spent; Action_Date = actionHistory.Action_Date; History_Attachments = new List <Attachment>(actionHistory.History_Attachments); Action_Performer = new ActionHistoryPerformer(actionHistory.Action_Performer); Cc_Csr = actionHistory.Cc_Csr; Cc_Customer = actionHistory.Cc_Customer; }