示例#1
0
 public async Task Insert(Injury entity)
 {
     var injury = _mapper.Map <Domain.Model.Injury>(entity);
     await _service.Insert(injury);
 }
示例#2
0
 public async Task Insert(Country entity)
 {
     var country = _mapper.Map <Domain.Model.Country>(entity);
     await _domainService.Insert(country);
 }
示例#3
0
 public async Task Insert(Continent entity)
 {
     var continent = _mapper.Map <Domain.Model.Continent>(entity);
     await _domainService.Insert(continent);
 }
示例#4
0
 public async Task Insert(World entity)
 {
     var world = _mapper.Map <Domain.Model.World>(entity);
     await _domainService.Insert(world);
 }