chore: project clean

This commit is contained in:
2025-09-20 23:26:06 +03:00
parent 44881818a2
commit 3b321d0ff4
12 changed files with 81 additions and 245 deletions

View File

@@ -1,6 +1,5 @@
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
namespace GamificationService.Database.Repositories;
@@ -16,8 +15,8 @@ public class GenericRepository<TEntity> where TEntity : class
}
public virtual IQueryable<TEntity> Get(
Expression<Func<TEntity, bool>> filter = null,
Func<IQueryable<TEntity>, IOrderedQueryable<TEntity>> orderBy = null,
Expression<Func<TEntity, bool>>? filter = null,
Func<IQueryable<TEntity>, IOrderedQueryable<TEntity>>? orderBy = null,
string includeProperties = "")
{
IQueryable<TEntity> query = dbSet;