Update title case formatter for AutoMapper

This commit is contained in:
2018-09-19 10:40:34 -04:00
parent 83b3dd3d37
commit 3972f47e31
3 changed files with 2 additions and 16 deletions
-13
View File
@@ -1,13 +0,0 @@
using System.Globalization;
using AutoMapper;
namespace MileageTraker.Web.Utility
{
public class TitleCaseFormatter : ValueFormatter<string>
{
protected override string FormatValueCore(string value)
{
return value.ToTitleCase();
}
}
}