/// <summary> /// Updates the problem status. /// </summary> /// <param name="problemStatus">The problem status.</param> /// <param name="statusChangedDate">The status changed date.</param> public virtual void UpdateProblemStatus(ProblemStatus problemStatus, DateTime?statusChangedDate) { if ((_problemStatus == null && problemStatus != null) || (_problemStatus != null && !_problemStatus.Equals(problemStatus))) { ProblemStatus = problemStatus; StatusChangedDate = statusChangedDate; } }
/// <summary> /// Updates the problem status. /// </summary> /// <param name="problemStatus">The problem status.</param> /// <param name="statusChangedDate">The status changed date.</param> public virtual void UpdateProblemStatus(ProblemStatus problemStatus, DateTime? statusChangedDate) { if ((_problemStatus == null && problemStatus != null) || (_problemStatus != null && !_problemStatus.Equals(problemStatus))) { ProblemStatus = problemStatus; StatusChangedDate = statusChangedDate; } }