コード例 #1
0
ファイル: Services.cs プロジェクト: moisescorrea3/Library
 public void Update(TEntityDto entity)
 {
     repository.Update(Mapper.Map <TEntity>(entity));
 }
コード例 #2
0
 /// <summary>
 /// Updates the specified entity.
 /// </summary>
 /// <param name="entity">The entity.</param>
 public virtual void Update(TEntityDto entity)
 {
     repository.Update(serviceMapper.Map <TEntity>(entity));
 }