16 lines
575 B
C#
16 lines
575 B
C#
using SmallSoftwareContracts.AdapterContracts.OperationResponses;
|
|
using SmallSoftwareContracts.BindingModels;
|
|
|
|
namespace SmallSoftwareContracts.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);
|
|
}
|