/// <summary> /// Check if case status is marked as resolved. Returns true if it is resolved, otherwise false. /// </summary> /// <param name="statusId">Uniqueidentifier of case status.</param> /// <returns> /// Checks is case status resolved. /// </returns> public bool StatusIsResolved(Guid statusId) { return(CaseStatusStoreData .Find(status => status.Id == statusId)?.IsResolved ?? false); }
/// <summary> /// Check if case status is marked as final. Returns true if it is final, otherwise false. /// </summary> /// <param name="statusId">Uniqueidentifier of case status.</param> /// <returns> /// Checks is case status final. /// </returns> public bool StatusIsFinal(Guid statusId) { return(CaseStatusStoreData .Find(status => status.Id == statusId)?.IsFinal ?? false); }