44 lines
876 B
C#
44 lines
876 B
C#
using PapaCarloContracts.BuisinessLogicsContracts;
|
|
using PapaCarloContracts.DataModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace PapaCarloBusinessLogic.Implementations;
|
|
|
|
internal class PostBusinessLogicContract : IPostBusinessLogicContract
|
|
{
|
|
public void DeletePost(string id)
|
|
{
|
|
}
|
|
|
|
public List<PostDataModel> GetAllDataOfPost(string postId)
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public List<PostDataModel> GetAllPosts(bool onlyActive)
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public PostDataModel GetPostByData(string data)
|
|
{
|
|
return new("", "", 0, true, DateTime.Now);
|
|
}
|
|
|
|
public void InsertPost(PostDataModel postDataModel)
|
|
{
|
|
}
|
|
|
|
public void RestorePost(string id)
|
|
{
|
|
}
|
|
|
|
public void UpdatePost(PostDataModel postDataModel)
|
|
{
|
|
}
|
|
}
|