public static void AddMappings(AutoMapper.IMapperConfigurationExpression config) { config.AddProfile <VM.Models.TournamentObservableMappingProfile>(); config.AddProfile <TournamentTeamObservableMappingProfile>(); config.AddProfile <PlayerObservableMappingProfile>(); config.AddProfile <TourObservableMappingProfile>(); config.AddProfile <TourGameResultObservableMappingProfile>(); Services.Models.ModelsMappingConfig.AddMappings(config); }
public static void AddMappings(AutoMapper.IMapperConfigurationExpression expr) { expr.AddProfile <Models.Api.ToDoItemApiModelProfile>(); expr.AddProfile <CategoryMappingProfile>(); }