21 lines
473 B
C#
Raw Normal View History

2025-02-16 05:17:33 +04:00
using TheCyclopsContracts.DataModels;
namespace TheCyclopsContracts.BusinessLogicContracts;
public interface IPostBusinessLogicContract
{
List<PostDataModel> GetAllPosts(bool onlyActive);
List<PostDataModel> GetAllDataOfPost(string postId);
PostDataModel GetPostByData(string data);
void InsertPost(PostDataModel postDataModel);
void UpdatePost(PostDataModel postDataModel);
void DeletePost(string id);
void RestorePost(string id);
}