Ejemplo n.º 1
0
        /// <summary>
        /// It's receiving the original name because the database doesn't
        /// have an ID for cities and find by SEO String on database does not
        /// have a good performance.
        /// </summary>
        /// <param name="location"></param>
        /// <returns></returns>
        public ActionResult Where(String location)
        {
            var comp = Mapper.Map <IEnumerable <Company>, IEnumerable <CompanyViewModel> >(_companyApp.GetByLocation(location));

            return(View(comp));
        }