From 54e31d41fc8963ded477dad5505f4c6105832e8d Mon Sep 17 00:00:00 2001 From: prtsie Date: Thu, 15 Aug 2024 18:54:26 +0300 Subject: [PATCH] fixed warnings --- SchengenVisaApi/ApplicationLayer/Common/IGenericRepository.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SchengenVisaApi/ApplicationLayer/Common/IGenericRepository.cs b/SchengenVisaApi/ApplicationLayer/Common/IGenericRepository.cs index 684b78f..cfcb5e6 100644 --- a/SchengenVisaApi/ApplicationLayer/Common/IGenericRepository.cs +++ b/SchengenVisaApi/ApplicationLayer/Common/IGenericRepository.cs @@ -9,20 +9,24 @@ namespace ApplicationLayer.Common; public interface IGenericRepository where T : class, IEntity { /// Get all entities from data storage + /// Cancellation token Task> GetAllAsync(CancellationToken cancellationToken); /// Get one entity with specific id /// Identifier of entity + /// Cancellation token Task GetOneAsync(Guid id, CancellationToken cancellationToken); /// Add entity to storage /// Entity to add + /// Cancellation token Task AddAsync(T entity, CancellationToken cancellationToken); /// /// Update entity in storage /// /// Entity to update + /// Cancellation token Task UpdateAsync(T entity, CancellationToken cancellationToken); ///