astral-api/Astral.DAL/Repositories/UserGroupRepository.cs

25 lines
780 B
C#
Raw Normal View History

2024-12-11 21:36:30 +01:00
// <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)
{
}
}