Example #1
0
 protected void Application_Start()
 {
     AreaRegistration.RegisterAllAreas();
     FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     BundleConfig.RegisterBundles(BundleTable.Bundles);
     SHManager.Init();
     new BatchManager().Start();
 }
Example #2
0
 public JsonResult VerifyIsCompany(string address)
 {
     return(Json(SHManager.GetCompanyByAddress(address), JsonRequestBehavior.AllowGet));
 }
Example #3
0
        public ActionResult NightClubs()
        {
            var res = SHManager.GetNightClubs();

            return(View(res));
        }
Example #4
0
        public ActionResult Restaurants()
        {
            var res = SHManager.GetRestaurants();

            return(View(res));
        }
Example #5
0
        public ActionResult Bars()
        {
            var res = SHManager.GetBars();

            return(View(res));
        }
Example #6
0
        public ActionResult Events()
        {
            var res = SHManager.GetEvenements();

            return(View(res));
        }
Example #7
0
        public ActionResult Salle(int id)
        {
            var res = SHManager.GetSalle(id);

            return(View(res));
        }
Example #8
0
        public ActionResult Movie(int id)
        {
            var res = SHManager.GetFilm(id);

            return(View(res));
        }
Example #9
0
        public ActionResult Movies()
        {
            var res = SHManager.GetFilms();

            return(View(res));
        }