BuildFeed/BuildFeed.Model/ModelMappings.cs

16 lines
305 B
C#
Raw Normal View History

2017-05-26 04:21:40 +08:00
using AutoMapper;
using BuildFeed.Model.Api;
namespace BuildFeed.Model
{
public static class ModelMappings
{
public static void Initialise()
{
Mapper.Initialize(cfg =>
{
cfg.CreateMap<Build, ApiBuild>();
});
}
}
}