public PivotalService(IMembershipService membershipService, ISessionService sessionService, ICacheProvider cacheProvider, IFormsAuthenticationService formsAuthenticationService) { this.membershipService = membershipService; this.sessionService = sessionService; this.cacheProvider = cacheProvider; this.formsAuthenticationService = formsAuthenticationService; var apiToken = sessionService.ApiToken(); if (String.IsNullOrEmpty(apiToken)) formsAuthenticationService.SignOut(); this.user = new PivotalUser(apiToken); //this.projects = user.FetchProjects(); //this.projects = Projects(); }