fixed warnings
This commit is contained in:
		| @@ -9,20 +9,24 @@ namespace ApplicationLayer.Common; | |||||||
| public interface IGenericRepository<T> where T : class, IEntity | public interface IGenericRepository<T> where T : class, IEntity | ||||||
| { | { | ||||||
|     /// Get all entities from data storage |     /// Get all entities from data storage | ||||||
|  |     /// <param name="cancellationToken">Cancellation token</param> | ||||||
|     Task<List<T>> GetAllAsync(CancellationToken cancellationToken); |     Task<List<T>> GetAllAsync(CancellationToken cancellationToken); | ||||||
|  |  | ||||||
|     /// Get one entity with specific id |     /// Get one entity with specific id | ||||||
|     /// <param name="id">Identifier of entity</param> |     /// <param name="id">Identifier of entity</param> | ||||||
|  |     /// <param name="cancellationToken">Cancellation token</param> | ||||||
|     Task<T> GetOneAsync(Guid id, CancellationToken cancellationToken); |     Task<T> GetOneAsync(Guid id, CancellationToken cancellationToken); | ||||||
|  |  | ||||||
|     /// Add entity to storage |     /// Add entity to storage | ||||||
|     /// <param name="entity">Entity to add</param> |     /// <param name="entity">Entity to add</param> | ||||||
|  |     /// <param name="cancellationToken">Cancellation token</param> | ||||||
|     Task AddAsync(T entity, CancellationToken cancellationToken); |     Task AddAsync(T entity, CancellationToken cancellationToken); | ||||||
|  |  | ||||||
|     /// <summary> |     /// <summary> | ||||||
|     /// Update entity in storage |     /// Update entity in storage | ||||||
|     /// </summary> |     /// </summary> | ||||||
|     /// <param name="entity">Entity to update</param> |     /// <param name="entity">Entity to update</param> | ||||||
|  |     /// <param name="cancellationToken">Cancellation token</param> | ||||||
|     Task UpdateAsync(T entity, CancellationToken cancellationToken); |     Task UpdateAsync(T entity, CancellationToken cancellationToken); | ||||||
|  |  | ||||||
|     /// <summary> |     /// <summary> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user