diff --git a/.vs/prjRentalManagement/FileContentIndex/05d6c77a-2bc8-4920-ae84-014fa8bde957.vsidx b/.vs/prjRentalManagement/FileContentIndex/05d6c77a-2bc8-4920-ae84-014fa8bde957.vsidx new file mode 100644 index 0000000..6545c19 Binary files /dev/null and b/.vs/prjRentalManagement/FileContentIndex/05d6c77a-2bc8-4920-ae84-014fa8bde957.vsidx differ diff --git a/.vs/prjRentalManagement/config/applicationhost.config b/.vs/prjRentalManagement/config/applicationhost.config new file mode 100644 index 0000000..3dd1118 --- /dev/null +++ b/.vs/prjRentalManagement/config/applicationhost.config @@ -0,0 +1,971 @@ + + + + + + +
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ + +
+
+
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.vs/prjRentalManagement/v17/.suo b/.vs/prjRentalManagement/v17/.suo new file mode 100644 index 0000000..e4db4ea Binary files /dev/null and b/.vs/prjRentalManagement/v17/.suo differ diff --git a/prjRentalManagement/Views/Apartment/Edit.cshtml b/prjRentalManagement/Views/Apartment/Edit.cshtml index e30e1ab..31d1e01 100644 --- a/prjRentalManagement/Views/Apartment/Edit.cshtml +++ b/prjRentalManagement/Views/Apartment/Edit.cshtml @@ -63,7 +63,7 @@
- +
diff --git a/prjRentalManagement/Views/Building/Create.cshtml b/prjRentalManagement/Views/Building/Create.cshtml index 40c6049..0e1c618 100644 --- a/prjRentalManagement/Views/Building/Create.cshtml +++ b/prjRentalManagement/Views/Building/Create.cshtml @@ -2,13 +2,12 @@ @{ ViewBag.Title = "Create Building"; } -

Create

+

Create Building

@using (Html.BeginForm()) { @Html.AntiForgeryToken()
-

building


@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@@ -19,7 +18,7 @@
-
+
@Html.LabelFor(model => model.city, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.city, new { htmlAttributes = new { @class = "form-control" } }) @@ -27,7 +26,7 @@
-
+
@Html.LabelFor(model => model.province, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.province, new { htmlAttributes = new { @class = "form-control" } }) @@ -35,7 +34,7 @@
-
+
@Html.LabelFor(model => model.postalCode, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.postalCode, new { htmlAttributes = new { @class = "form-control" } }) @@ -45,8 +44,8 @@ @*If no Owner login -> Displays a dropdown list for selecting an owner*@ @if (Session["owner"] == null) { -
- @Html.LabelFor(model => model.ownerId, "ownerId", htmlAttributes: new { @class = "control-label col-md-2" }) +
+ @Html.LabelFor(model => model.ownerId, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("ownerId", null, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.ownerId, "", new { @class = "text-danger" }) @@ -85,9 +84,9 @@
} -
+
- +
diff --git a/prjRentalManagement/Views/Building/Edit.cshtml b/prjRentalManagement/Views/Building/Edit.cshtml index 43b9848..b79c8e7 100644 --- a/prjRentalManagement/Views/Building/Edit.cshtml +++ b/prjRentalManagement/Views/Building/Edit.cshtml @@ -20,7 +20,7 @@
-
+
@Html.LabelFor(model => model.city, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.city, new { htmlAttributes = new { @class = "form-control" } }) @@ -28,7 +28,7 @@
-
+
@Html.LabelFor(model => model.province, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.province, new { htmlAttributes = new { @class = "form-control" } }) @@ -36,7 +36,7 @@
-
+
@Html.LabelFor(model => model.postalCode, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.postalCode, new { htmlAttributes = new { @class = "form-control" } }) @@ -44,7 +44,7 @@
-
+
@Html.LabelFor(model => model.ownerId, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("ownerId", null, htmlAttributes: new { @class = "form-control" }) @@ -52,7 +52,7 @@
-
+
@Html.LabelFor(model => model.managerId, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("managerId", null, htmlAttributes: new { @class = "form-control" }) @@ -62,7 +62,7 @@
- +