public HomeService()
 {
     this._clientId = WebConfigurationManager.AppSettings[HomeConstant.ClientId];
     this._clientSecret = WebConfigurationManager.AppSettings[HomeConstant.ClientSecret];
     this._sharpSquare = new SharpSquare(this._clientId, this._clientSecret);
     this._db = new FoursquareClientAssignmentContext();
 }
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);

            var context = new FoursquareClientAssignmentContext();
            context.Database.Initialize(true);
        }