27 lines
687 B
C#
27 lines
687 B
C#
using CandyHouseContracts.AdapterContracts.OperationResponses;
|
|
using CandyHouseContracts.BindingModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CandyHouseContracts.AdapterContracts;
|
|
|
|
public interface IPostAdapter
|
|
{
|
|
PostOperationResponse GetList();
|
|
|
|
PostOperationResponse GetHistory(string id);
|
|
|
|
PostOperationResponse GetElement(string data);
|
|
|
|
PostOperationResponse RegisterPost(PostBindingModel postModel);
|
|
|
|
PostOperationResponse ChangePostInfo(PostBindingModel postModel);
|
|
|
|
PostOperationResponse RemovePost(string id);
|
|
|
|
PostOperationResponse RestorePost(string id);
|
|
}
|