public ActionResult EditProviderListing()
        {
            var listing = new ProviderListingModel();
            var UserId  = User.Identity.GetUserId();

            listing = listing.GetListingByUserId(UserId);
            ViewBag.Categorylist = new SelectList(listing.AllCategory(), "Id", "CategoryName", Convert.ToInt32(listing.CategoryId));
            ViewBag.State        = new SelectList(new ServicesModel().GetUsStates(), "Id", "State", listing.ServiceAreas[0].UsState.Id);
            //ViewBag.CategoryServicelist = new SelectList(listing.GetCategoryServices(Convert.ToInt32(listing.CategoryId)), "CategoryServiceId", "Name", listing.CategoryServiceId);
            ViewBag.CategoryServicelist = listing.GetCategoryServices(Convert.ToInt32(listing.CategoryId));
            return(View("SubmitListing", listing));
        }
        //[Authorize]
        public ActionResult SubmitListing(int ListingId = 0)
        {
            var providerListingModel = new ProviderListingModel();

            if (ListingId == 0)
            {
                ViewBag.Categorylist = new SelectList(providerListingModel.AllCategory(), "Id", "CategoryName", "Select the Category");
                //ViewBag.CategoryServicelist = new SelectList(providerListingModel.GetCategoryServices(1), "CategoryServiceId", "Name", "Select the Service");
                ViewBag.CategoryServicelist = providerListingModel.GetCategoryServices(1);
            }
            ViewBag.State = new SelectList(new ServicesModel().GetUsStates(), "Id", "State", "Select the State");
            return(View(providerListingModel));
        }