diff --git a/AsbCloudInfrastructure/Repository/WellCompositeRepository.cs b/AsbCloudInfrastructure/Repository/WellCompositeRepository.cs
index d6f6bc01..de56ee60 100644
--- a/AsbCloudInfrastructure/Repository/WellCompositeRepository.cs
+++ b/AsbCloudInfrastructure/Repository/WellCompositeRepository.cs
@@ -20,6 +20,7 @@ namespace AsbCloudInfrastructure.Repository
this.db = db;
}
+ ///
public async Task> GetAsync(int idWell, CancellationToken token)
{
var entities = await db.WellComposites
@@ -30,6 +31,7 @@ namespace AsbCloudInfrastructure.Repository
return entities.Select(Convert);
}
+ ///
public Task SaveAsync(int idWell, IEnumerable wellComposites, CancellationToken token)
{
db.WellComposites.RemoveRange(db.WellComposites
@@ -42,13 +44,13 @@ namespace AsbCloudInfrastructure.Repository
return db.SaveChangesAsync(token);
}
- private WellComposite Convert(int idWell, WellCompositeDto dto)
+ private static WellComposite Convert(int idWell, WellCompositeDto dto)
{
var entity = dto.Adapt();
entity.IdWell = idWell;
return entity;
}
- private WellCompositeDto Convert(WellComposite entity)
+ private static WellCompositeDto Convert(WellComposite entity)
{
var dto = entity.Adapt();
return dto;