using PapaCarloContracts.DataModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PapaCarloContracts.BuisinessLogicsContracts; public interface IPostBusinessLogicContract { List GetAllPosts(bool onlyActive); List GetAllDataOfPost(string postId); PostDataModel GetPostByData(string data); void InsertPost(PostDataModel postDataModel); void UpdatePost(PostDataModel postDataModel); void DeletePost(string id); void RestorePost(string id); }