Not logged in - Login

Umbarco controller/webapi without context


 public class ClientAppCacheController : UmbracoController
  {
    public ClientAppCacheController()
      : base(
      UmbracoContext.EnsureContext(
        new HttpContextWrapper(System.Web.HttpContext.Current)
        , ApplicationContext.Current
        , new global::Umbraco.Web.Security.WebSecurity(new HttpContextWrapper(System.Web.HttpContext.Current)
        , ApplicationContext.Current)
        , true))
    {

    }
  }