23 lines
397 B
C#
23 lines
397 B
C#
using NewsBlogAbstractions.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace NewsBlogAbstractions.WorkAbstractions
|
|
{
|
|
public interface ICommentWork
|
|
{
|
|
List<Comment> GetAll();
|
|
|
|
Comment? Get(int id);
|
|
|
|
Comment? Create(Comment comment);
|
|
|
|
Comment? Update(Comment comment);
|
|
|
|
Comment? Delete(int id);
|
|
}
|
|
}
|