astral-api/Astral.DAL/Repositories/UserGroupRepository.cs
2024-12-11 20:36:30 +00:00

24 lines
780 B
C#

// <copyright file="UserGroupRepository.cs" company="alveus.dev">
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
// </copyright>
using Astral.Core.Entities;
using Astral.Core.Infrastructure;
using Astral.Core.RepositoryInterfaces;
using Injectio.Attributes;
namespace Astral.DAL.Repositories;
/// <inheritdoc cref="IUserGroupRepository" />
[RegisterScoped]
public class UserGroupRepository : BaseRepository<UserGroup, Guid>, IUserGroupRepository
{
/// <summary>
/// Initializes a new instance of the <see cref="UserGroupRepository" /> class.
/// </summary>
/// <param name="db">Instance of <see cref="IDbConnectionProvider" />.</param>
public UserGroupRepository(IDbConnectionProvider db)
: base(db)
{
}
}