Better logs for common ActionLog attribute paramters

This commit is contained in:
2014-01-23 13:59:15 -05:00
parent 30beccfc83
commit bb5dab48a0
6 changed files with 29 additions and 9 deletions
+6
View File
@@ -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();
}
}
}