public ActionResult Create(PropertyCreateInputModel input, string command)
        {
            if (ModelState.IsValid)
            {
                var result = this.propertyAdapter.CreateProperty(input.ToBuilding());

                if (result.StatusCode == 200)
                {
                    if (command == "list")
                        return Redirect("/listing/list/" + result.Result.BuildingId);
                    if (command == "save")
                        return RedirectToAction("manage", new { id = result.Result.BuildingId });
                }

                HandleErrors(result);
            }

            PropertyCreateModel model = new PropertyCreateModel(input);
            return View(model);
        }
 public ActionResult Create()
 {
     PropertyCreateModel model = new PropertyCreateModel();
     return View(model);
 }