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