21 lines
596 B
C#
21 lines
596 B
C#
using BlogContracts.BindingModel;
|
|
using BlogContracts.SearchModels;
|
|
using BlogContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BlogContracts.BusinessLogicContracts
|
|
{
|
|
public interface ICommentLogic
|
|
{
|
|
List<CommentViewModel>? ReadList(CommentSearchModel? model);
|
|
CommentViewModel? ReadElement(CommentSearchModel model);
|
|
bool Create(CommentBindingModel model);
|
|
bool Update(CommentBindingModel model);
|
|
bool Delete(CommentBindingModel model);
|
|
}
|
|
}
|