Пример #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();
 }
Пример #2
0
 public JsonResult VerifyIsCompany(string address)
 {
     return(Json(SHManager.GetCompanyByAddress(address), JsonRequestBehavior.AllowGet));
 }
Пример #3
0
        public ActionResult NightClubs()
        {
            var res = SHManager.GetNightClubs();

            return(View(res));
        }
Пример #4
0
        public ActionResult Restaurants()
        {
            var res = SHManager.GetRestaurants();

            return(View(res));
        }
Пример #5
0
        public ActionResult Bars()
        {
            var res = SHManager.GetBars();

            return(View(res));
        }
Пример #6
0
        public ActionResult Events()
        {
            var res = SHManager.GetEvenements();

            return(View(res));
        }
Пример #7
0
        public ActionResult Salle(int id)
        {
            var res = SHManager.GetSalle(id);

            return(View(res));
        }
Пример #8
0
        public ActionResult Movie(int id)
        {
            var res = SHManager.GetFilm(id);

            return(View(res));
        }
Пример #9
0
        public ActionResult Movies()
        {
            var res = SHManager.GetFilms();

            return(View(res));
        }