40 lines
824 B
C#

using TheCyclopsContracts.BusinessLogicContracts;
using TheCyclopsContracts.DataModels;
using TheCyclopsContracts.Enums;
namespace TheCyclopsBusinessLogic.Implementations;
internal class PostBusinessLogicContract : IPostBusinessLogicContract
{
public List<PostDataModel> GetAllPosts(bool onlyActive)
{
return [];
}
public List<PostDataModel> GetAllDataOfPost(string postId)
{
return [];
}
public PostDataModel GetPostByData(string data)
{
return new PostDataModel("", "", PostType.None, 0, false, DateTime.Now);
}
public void InsertPost(PostDataModel postDataModel)
{
}
public void UpdatePost(PostDataModel postDataModel)
{
}
public void DeletePost(string id)
{
}
public void RestorePost(string id)
{
}
}