Beispiel #1
0
 public void Update(TEntityDto entity)
 {
     repository.Update(Mapper.Map <TEntity>(entity));
 }
Beispiel #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));
 }