status { get; set; }
+ public string file { get; set; }
+
+ public virtual Appointments Appointments { get; set; }
+ public virtual Doctors Doctors { get; set; }
+ public virtual Patients Patients { get; set; }
+ public virtual ShareURLs ShareURLs { get; set; }
+ }
}
diff --git a/FIT5032-Assignment/Views/Home/ImageUpload.cshtml b/FIT5032-Assignment/Views/Home/ImageUpload.cshtml
index c5600dc..8ba25d1 100644
--- a/FIT5032-Assignment/Views/Home/ImageUpload.cshtml
+++ b/FIT5032-Assignment/Views/Home/ImageUpload.cshtml
@@ -1,8 +1,42 @@
-@{
- Layout = "~/Views/Shared/_Layout.cshtml";
+@model FIT5032_Assignment.Models.ImageUploadForm
+@{
+ Layout = "~/Views/Shared/_Layout.cshtml";
}
-
- image upload
-
\ No newline at end of file
+@using (Html.BeginForm())
+{
+ @Html.AntiForgeryToken()
+
+
+}
+
+@section Scripts {
+ @Scripts.Render("~/bundles/jqueryval")
+}