Update title case formatter for AutoMapper
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user