17 lines
339 B
C#
17 lines
339 B
C#
using System.Threading.Tasks;
|
|
using HN.Domain;
|
|
|
|
namespace HN.Infrastructure
|
|
{
|
|
public sealed class CommentRepository : Repository<Comment>, ICommentRepository
|
|
{
|
|
public CommentRepository(HNDbContext context) : base(context)
|
|
{
|
|
}
|
|
|
|
public Task AddAsync(Comment comment)
|
|
{
|
|
return base.AddAsync(comment);
|
|
}
|
|
}
|
|
} |