public override bool Equals(object obj) { StatusModel another; if (obj == null || (another = obj as StatusModel) == null) { return false; } return Status.Id == another.Status.Id; }