mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
16 lines
305 B
C#
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>();
|
|||
|
});
|
|||
|
}
|
|||
|
}
|
|||
|
}
|