public IActionResult IndexEkStreet(string CityCodeInput) { ViewBag.CountryCode_ddl = nomenclatureService.GetCountries(); ViewBag.StreetTipeId_ddl = nomenclatureService.GetDDL_StreetType(); var model = new EkStreetFilterVM() { CountryCode = NomenclatureConstants.CountryBG, CityCode = (string.IsNullOrEmpty(CityCodeInput)) ? NomenclatureConstants.EkattCitySofiq : CityCodeInput }; return(View(model)); }
public IActionResult ListDataEkStreet(IDataTablesRequest request, EkStreetFilterVM model) { var data = nomenclatureService.EkStreet_Select(model); return(request.GetResponse(data)); }