S-52700 Refactored isInstanceMode and isDigestMode checks to be reused for both controllers
S-52700 Refactored isInstanceMode and isDigestMode checks to be reused for both controllers

openAgile/CommitStream.Web,openAgile/CommitStream.Web,openAgile/CommitStream.Web,JogoShugh/CommitStream.Web,JogoShugh/CommitStream.Web,openAgile/CommitStream.Web,JogoShugh/CommitStream.Web,JogoShugh/CommitStream.Web