Example #1
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);

            //DocumentDBRepository<todo.Models.Item>.Initialize();
            DocumentDbConnection.GetObject();
        }
Example #2
0
 public DocumentDbRepository()
 {
     _object = DocumentDbConnection.GetObject();
 }