public async Task<ActionResult> Listing(RealEstatePropertyViewModel vm) { try { if (ModelState.IsValid) { return null; } else { return null; } } catch (Exception) { throw; } }
public ActionResult Listing() { RealEstatePropertyViewModel vm = new RealEstatePropertyViewModel(); return View(vm); }