15 lines
377 B
C#
15 lines
377 B
C#
using System.Web;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace FIT5032_Assignment.Models {
|
|
public class ImageUploadForm {
|
|
[Required]
|
|
[Display(Name = "Assign to patient (email)")]
|
|
[EmailAddress]
|
|
public string patientEmail { get; set; }
|
|
|
|
[Required]
|
|
[Display(Name = "Image file")]
|
|
public HttpPostedFileBase imageFile { get; set; }
|
|
}
|
|
} |