46 lines
1014 B
C#
Raw Normal View History

2025-02-18 11:43:34 +03:00
using Microsoft.Extensions.Logging;
using PapaCarloContracts.BuisinessLogicsContracts;
using PapaCarloContracts.DataModels;
2025-02-18 11:43:34 +03:00
using PapaCarloContracts.StoragesContracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PapaCarloBusinessLogic.Implementations;
2025-02-18 11:43:34 +03:00
internal class PostBusinessLogicContract(IPostStorageContract postStorageContract, ILogger logger) : 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)
{
}
}