public ActionResult NearMe(AddressViewModel inModel)
        {
            var dummy = _ctx.Post.Where(m => m.Id == 1).SingleOrDefault();

            if (!inModel.ZipCode.HasValue && inModel.City == null)
            {
                ModelState.AddModelError("", " Please indicate a City or Zip Code");
                inModel.SinglePost = dummy;
                return View(inModel);
            }
            if (inModel.ZipCode.HasValue && inModel.City != null)
            {
                ModelState.AddModelError("", "Both Zip and City cannot be filled in");
                inModel.SinglePost = dummy;
                return View(inModel);
            }
            if (inModel.ZipCode.HasValue)
            {
                var outModel = new AddressViewModel
                {
                    ZipCode = inModel.ZipCode,
                    IsZipSearch = true,
                    IsCitySearch = false,
                    IsSinglePost = false,
                    SinglePost = dummy
                };

                return View(outModel);
            }
            else
            {
                var outModel = new AddressViewModel
                {
                    City = inModel.City,
                    IsZipSearch = false,
                    IsCitySearch = true,
                    SinglePost = dummy,
                    IsSinglePost = false
                };

                return View(outModel);
            }
        }
        public ActionResult NearMe(int? postId)
        {
            var outModel = new AddressViewModel();
            var dummy = _ctx.Post.Where(m => m.Id == 1).SingleOrDefault();
            var post = new PostModel();

            if (postId != null)
            {
                post = _ctx.Post.Where(m => m.Id == postId).SingleOrDefault();
                outModel.SinglePost = post;
                outModel.IsZipSearch = false;
                outModel.IsCitySearch = false;
                outModel.IsSinglePost = true;
            }
            else
            {
                outModel.SinglePost = dummy;
                outModel.IsZipSearch = false;
                outModel.IsCitySearch = false;
                outModel.IsSinglePost = false;
            }

            return View(outModel);
        }