public ActionResult tFindJob()
        {
            if (TempData["AdvertisementListModel"] != null) tFindJob((AdvertisementList)TempData["AdvertisementListModel"]);

            AdvertisementList model = new AdvertisementList();
            model.Fill();
            return CurrentTemplate(model);
        }
        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);
        }
        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);
        }
 public ActionResult tFindJob(AdvertisementList model)
 {
     model.Fill();
     return CurrentTemplate(model);
 }
 public ActionResult tFindBrigade(AdvertisementList model)
 {
     model.FillBrigades();
     return CurrentTemplate(model);
 }