BuildFeed/BuildFeed.Model/ModelMappings.cs
2017-05-25 21:21:40 +01:00

16 lines
305 B
C#

using AutoMapper;
using BuildFeed.Model.Api;
namespace BuildFeed.Model
{
public static class ModelMappings
{
public static void Initialise()
{
Mapper.Initialize(cfg =>
{
cfg.CreateMap<Build, ApiBuild>();
});
}
}
}