Exemplo n.º 1
0
 public static AttritionProfileMap ToDomainModel(AttritionProfileModel model)
 {
     return new AttritionProfileMap {
         Id = model.Id,
         AttritionId = model.AttritionId,
         DateOfLeaving = model.DateOfLeaving
     };
 }
Exemplo n.º 2
0
 public static AttritionProfileMap ToDomainModel(AttritionProfileModel model,int dealerId)
 {
     return new AttritionProfileMap {
         Id = model.Id,
         AttritionId = model.AttritionId,
         DateOfLeaving = model.DateOfLeaving,
         DealerManpower =new DealerManpower{Id = dealerId}
     };
 }