Initial
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using AutoMapper;
|
||||
|
||||
namespace MileageTraker.Web.Utility
|
||||
{
|
||||
public class DateTimeTypeConverter : ITypeConverter<string, DateTime>
|
||||
{
|
||||
public DateTime Convert(ResolutionContext context)
|
||||
{
|
||||
return System.Convert.ToDateTime(context.SourceValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user