Starting to add log user
This commit is contained in:
+4
-1
@@ -4,7 +4,6 @@ using System.ComponentModel.DataAnnotations;
|
||||
using System.Web.Mvc;
|
||||
using MileageTraker.Web.Attributes;
|
||||
using MileageTraker.Web.DAL;
|
||||
using MileageTraker.Web.Utility;
|
||||
|
||||
namespace MileageTraker.Web.Models
|
||||
{
|
||||
@@ -45,6 +44,10 @@ namespace MileageTraker.Web.Models
|
||||
[InputSize("medium")]
|
||||
public string EmployeeName { get; set; }
|
||||
|
||||
[Display(Name = "Employee / Driver")]
|
||||
[HiddenInput(DisplayValue = false)]
|
||||
public virtual User User { get; set; }
|
||||
|
||||
[Range(0, 50)]
|
||||
[DisplayFormat(DataFormatString = "{0:0.000}", ApplyFormatInEditMode = true)]
|
||||
[Units("Gallons")]
|
||||
|
||||
Reference in New Issue
Block a user