mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Allow machines photos to be uploaded from the admin page.
This commit is contained in:
@@ -18,8 +18,9 @@ namespace cicm_web.Areas.Admin.Models
|
||||
[NotMapped]
|
||||
[Required(ErrorMessage = "Image file required")]
|
||||
[DisplayName("Upload photo:")]
|
||||
public IFormFile Photo { get; set; }
|
||||
public int MachineId { get; set; }
|
||||
public int LicenseId { get; set; }
|
||||
public IFormFile Photo { get; set; }
|
||||
public int MachineId { get; set; }
|
||||
public int LicenseId { get; set; }
|
||||
public string ErrorMessage { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user