forked from ddrilling/AsbCloudServer
Convert2 rename to Convert
This commit is contained in:
parent
832489b9ac
commit
833c506325
@ -240,7 +240,7 @@ public abstract class ChangeLogRepositoryAbstract<TDto, TEntity, TRequest> : ICh
|
||||
.ThenBy(e => e.Obsolete)
|
||||
.ThenBy(e => e.Id)
|
||||
.ToListAsync(token);
|
||||
var dtos = entities.Select(e => Convert2(e, offset));
|
||||
var dtos = entities.Select(e => Convert(e, offset));
|
||||
|
||||
return dtos;
|
||||
}
|
||||
@ -275,7 +275,7 @@ public abstract class ChangeLogRepositoryAbstract<TDto, TEntity, TRequest> : ICh
|
||||
return entity;
|
||||
}
|
||||
|
||||
protected ChangeLogDto<TDto> Convert2(TEntity entity, TimeSpan offset)
|
||||
protected ChangeLogDto<TDto> Convert(TEntity entity, TimeSpan offset)
|
||||
{
|
||||
var dto = entity.Adapt<ChangeLogDto<TDto>>();
|
||||
dto.Creation = entity.Creation.ToOffset(offset);
|
||||
|
Loading…
Reference in New Issue
Block a user