12 lines
230 B
C#
12 lines
230 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace HN.Domain
|
|
{
|
|
public interface ICommentRepository
|
|
{
|
|
Task AddAsync(Comment comment);
|
|
Task UpdateAsync(Comment comment);
|
|
Task<Comment> GetByIdAsync(Guid id);
|
|
}
|
|
} |