title: How to get allowed templates using razor code for a document type in umbraco?
body: <p>I am trying to setup a framework for A/B Testing on Umbraco. In order to write the script that rotates the templates evenly for a given document type, I will need to know what the allowed templates for the page are (since I may not know the template names in advance). Is there a way to get this using Razor? </p>
  
  <p>For example, landing page has been allowed Template A, Template D (and maybe Template C in the future) in the Settings section for that document. How can i retrieve Template A, Template D from Umbraco?</p>
  
  <p>Thanks in advance!</p>