Убран лишний метод

This commit is contained in:
Olga Nemt 2024-05-21 07:25:19 +03:00
parent 833c506325
commit 7f683bc361
2 changed files with 1 additions and 8 deletions

View File

@ -275,7 +275,7 @@ public abstract class ChangeLogRepositoryAbstract<TDto, TEntity, TRequest> : ICh
return entity;
}
protected ChangeLogDto<TDto> Convert(TEntity entity, TimeSpan offset)
protected virtual ChangeLogDto<TDto> Convert(TEntity entity, TimeSpan offset)
{
var dto = entity.Adapt<ChangeLogDto<TDto>>();
dto.Creation = entity.Creation.ToOffset(offset);

View File

@ -56,13 +56,6 @@ public class ProcessMapPlanBaseRepository<TDto, TEntity> : ChangeLogRepositoryAb
return offset;
}
protected TDto Convert(TEntity entity, TimeSpan offset)
{
var dto = entity.Adapt<TDto>();
dto.Section = entity.WellSectionType.Caption;
return dto;
}
protected override TEntity Convert(TDto dto)
{
var entity = base.Convert(dto);