Ejemplo n.º 1
0
        public ActionResult tFindJob()
        {
            if (TempData["AdvertisementListModel"] != null) tFindJob((AdvertisementList)TempData["AdvertisementListModel"]);

            AdvertisementList model = new AdvertisementList();
            model.Fill();
            return CurrentTemplate(model);
        }
Ejemplo n.º 2
0
        public ActionResult tHome(AdvertisementList model)
        {
            model.Fill();

            if (TempData["AdvertisementListModel"] == null)
                TempData.Add("AdvertisementListModel", model);
            else
                TempData["AdvertisementListModel"] = model;

            return PartialView("tFindJob", model);
            //return RedirectToAction("tFindJob", "FindJob");
            //return Redirect("/najit-praci");
            //return CurrentTemplate(model);
        }
Ejemplo n.º 3
0
        public ActionResult tHome()
        {
            CheckExpiredTop();

            /*var contentService = Services.ContentService;
            var produkt = contentService.CreateContent("Nový inzerát", 1446, "dtAdvertisement");
            produkt.SetValue("aContent", "obsahuje inzerát");
            produkt.SetValue("aTypeOfWork", "55");
            produkt.SetValue("aRegion", "240");
            produkt.SetValue("aWorkingField", "133");
            produkt.SetValue("aRequiredEducation", "242");
            var status = contentService.SaveAndPublishWithStatus(produkt);*/

            AdvertisementList model = new AdvertisementList();
            model.Fill();

            return CurrentTemplate(model);
        }
Ejemplo n.º 4
0
 public ActionResult tFindJob(AdvertisementList model)
 {
     model.Fill();
     return CurrentTemplate(model);
 }
Ejemplo n.º 5
0
 public ActionResult tFindBrigade(AdvertisementList model)
 {
     model.FillBrigades();
     return CurrentTemplate(model);
 }