title: Calling Web API from Web Job or use a class?
body: <p>I am working on creating a Web Job on Azure and the purpose is to handle some work load and perform server background tasks on my website.</p>
  
  <p>My website has several Web API methods which are used by my website but I also want the Web Job to perform the same tasks as the Web API methods after they are finished.</p>
  
  <p>My question is, should I get the Web Job to call this web API (if possible) or should I move the Web API code to a Class and have the Web API and also Web Job both call this class?</p>
  
  <p>I just wondered what was normal practice here.</p>
  
  <p>Thanks</p>