This commit is contained in:
2023-07-25 22:10:03 +03:00
parent ce2ae68c9f
commit 5ecefe5756
30 changed files with 2321 additions and 123 deletions
@@ -103,7 +103,7 @@ public class AccountRepository : AppRepository<Account>, IAccountRepository
{
return _context.Accounts
.Where(x => x.AccessRights!.Any(a => a.UserId == userId))
.Where(x => x.Name.Contains(term))
.Where(x => x.Name.ToLower().Contains(term.ToLower()))
.ToList();
}