public static TbmarqueCarrosserieDto FromModel(TbmarqueCarrosserie model)
 {
     return(new TbmarqueCarrosserieDto()
     {
         IdMarque = model.IdMarque,
         Idcarross = model.Idcarross,
         IdMarqueNavigation = TbmarqueDto.FromModel(model.IdMarqueNavigation),
         IdcarrossNavigation = TbcarosserieDto.FromModel(model.IdcarrossNavigation),
     });
 }
Example #2
0
 public static TbmodeleDto FromModel(Tbmodele model)
 {
     return(new TbmodeleDto()
     {
         Idmodel = model.Idmodel,
         Libmodel = model.Libmodel,
         Idmarq = model.Idmarq,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdmarqNavigation = TbmarqueDto.FromModel(model.IdmarqNavigation),
         TbtypeVehicule = model.TbtypeVehicule,
     });
 }
Example #3
0
 public static TbtarifHoraireGarageMarqueDto FromModel(TbtarifHoraireGarageMarque model)
 {
     return(new TbtarifHoraireGarageMarqueDto()
     {
         IdGara = model.IdGara,
         IdMarque = model.IdMarque,
         IdTarifHor = model.IdTarifHor,
         MtTarif = model.MtTarif,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdGaraNavigation = TbgarageDto.FromModel(model.IdGaraNavigation),
         IdMarqueNavigation = TbmarqueDto.FromModel(model.IdMarqueNavigation),
         IdTarifHorNavigation = TbtarifHoraireDto.FromModel(model.IdTarifHorNavigation),
     });
 }