Initial
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using System.Globalization;
|
||||
using AutoMapper;
|
||||
|
||||
namespace MileageTraker.Web.Utility
|
||||
{
|
||||
public class TitleCaseFormatter : ValueFormatter<string>
|
||||
{
|
||||
protected override string FormatValueCore(string value)
|
||||
{
|
||||
return CultureInfo.CurrentCulture.TextInfo.ToTitleCase(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user