PIbd-21_Danilov_V.V._SUBD/NewsBlog/NewsBlogAbstractions/WorkAbstractions/ICommentWork.cs

23 lines
397 B
C#
Raw Normal View History

2024-05-19 21:59:55 +04:00
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);
}
}