Update the repository and model to have the join between the models
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
using AutoMapper;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace skydiveLogs_api.Mapper
|
||||
{
|
||||
@@ -13,7 +10,9 @@ namespace skydiveLogs_api.Mapper
|
||||
CreateMap<DataContract.JumpTypeReq, Model.JumpType>();
|
||||
CreateMap<DataContract.AircraftReq, Model.Aircraft>();
|
||||
CreateMap<DataContract.DropZoneReq, Model.DropZone>();
|
||||
CreateMap<DataContract.GearReq, Model.Gear>();
|
||||
|
||||
CreateMap<Model.Gear, DataContract.GearResp>();
|
||||
CreateMap<Model.Jump, DataContract.JumpResp>();
|
||||
CreateMap<Model.JumpType ,DataContract.JumpTypeResp>();
|
||||
CreateMap<Model.Aircraft ,DataContract.AircraftResp>();
|
||||
|
||||
Reference in New Issue
Block a user