15 lines
296 B
C#
15 lines
296 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MyHN.Domain
|
|
{
|
|
/// <summary>
|
|
/// Permet de persister un commentaire.
|
|
/// </summary>
|
|
public interface ICommentRepository
|
|
{
|
|
Task AddAsync(Comment comment);
|
|
Task UpdateAsync(Comment comment);
|
|
Comment GetById(Guid id);
|
|
}
|
|
} |