Better logs for common ActionLog attribute paramters
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using MileageTraker.Web.Utility;
|
||||
|
||||
namespace MileageTraker.Web.Models
|
||||
{
|
||||
@@ -33,5 +34,10 @@ namespace MileageTraker.Web.Models
|
||||
{
|
||||
return new MileageLogTypeWrapper { Enum = c };
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return Enum.GetDisplayName();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user