Ejemplo n.º 1
0
        public List <CityViewModel> GetCityHasJobPostId()
        {
            DataTable            city    = _homeRepositories.GetCityHasJobPostId();
            List <CityViewModel> lstCity = new List <CityViewModel>();

            if (city.Rows.Count > 0)
            {
                lstCity = ConvertDatatableToModelList.ConvertDataTable <CityViewModel>(city);
            }
            return(lstCity);
        }