using TheCyclopsContracts.DataModels; namespace TheCyclopsContracts.BusinessLogicContracts; 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); }