hn-dotnet/Infrastructure/CommentRepository.cs
Julien Leicher 66cc78d30e comment-a-link (#24)
Closes #23 refactor to use OwnsMany
2020-12-11 09:46:42 +01:00

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);
}
}
}