22 lines
681 B
C#
22 lines
681 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.StorageContracts
|
|
{
|
|
public interface ICommentStorage
|
|
{
|
|
List<CommentViewModel> GetFullList();
|
|
List<CommentViewModel> GetFilteredList(CommentSearchModel model);
|
|
CommentViewModel? GetElement(CommentSearchModel model);
|
|
CommentViewModel? Insert(CommentBindingModel model);
|
|
CommentViewModel? Update(CommentBindingModel model);
|
|
CommentViewModel? Delete(CommentBindingModel model);
|
|
}
|
|
}
|