This commit is contained in:
2020-09-02 20:53:34 -04:00
parent 85d99d2615
commit d06925204d
38 changed files with 913 additions and 679 deletions

View File

@@ -0,0 +1,22 @@
using AutoMapper;
using PartSource.Data.Dtos;
using PartSource.Data.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace PartSource.Data.AutoMapper
{
public class PartSourceProfile : Profile
{
public PartSourceProfile()
{
CreateMap<Vehicle, MakeDto>();
CreateMap<Vehicle, ModelDto>();
CreateMap<Vehicle, SubmodelDto>();
CreateMap<Vehicle, BaseVehicleDto>();
CreateMap<Vehicle, EngineDto>();
CreateMap<Vehicle, VehicleDto>();
}
}
}