示例#1
0
 public async Task <AdresseEntity> Update(AdresseEntity item)
 {
     if (!_repository.Exist(item.Id))
     {
         throw new NotFoundException(ExceptionMessageUtil.NOT_FOUND);
     }
     return(await _repository.UpdateAsync(item));
 }