Exemple #1
0
 public ActionResult IT(HlidacStatu.Lib.ES.VerejnaZakazkaSearchData model)
 {
     if (model == null)
     {
         return(View(new HlidacStatu.Lib.ES.SmlouvaSearchResult()));
     }
     else
     {
         return(View(model));
     }
 }
Exemple #2
0
        public ActionResult Hledat(HlidacStatu.Lib.ES.VerejnaZakazkaSearchData model, string cpv)
        {
            if (model == null || ModelState.IsValid == false)
            {
                return(View(new HlidacStatu.Lib.ES.VerejnaZakazkaSearchData()));
            }

            string[] cpvs = null;
            if (!string.IsNullOrEmpty(cpv))
            {
                cpvs = cpv.Split(',');
            }
            var res = VerejnaZakazka.Searching.SimpleSearch(model);

            return(View(res));
        }