Exemplo n.º 1
0
        public static Domain.TrainingInBill Map(DTO.TrainingInBill tib)
        {
            var domain = new Domain.TrainingInBill
            {
                TrainingId = tib.TrainingId,
                BillId     = tib.BillId,
            };

            return(domain);
        }
Exemplo n.º 2
0
 public async Task AddNewTrainingInBill(DTO.TrainingInBill dto)
 {
     await RepoDbSet.AddAsync(TrainingInBillMapper.Map(dto));
 }