41 lines
867 B
C#
41 lines
867 B
C#
using CatHasPawsContratcs.BusinessLogicsContracts;
|
|
using CatHasPawsContratcs.DataModels;
|
|
using CatHasPawsContratcs.Enums;
|
|
using CatHasPawsContratcs.StoragesContracts;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace CatHasPawsBusinessLogic.Implementations;
|
|
|
|
internal class PostBusinessLogicContract(IPostStorageContract postStorageContract, ILogger logger) : IPostBusinessLogicContract
|
|
{
|
|
public List<PostDataModel> GetAllPosts(bool onlyActive)
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public List<PostDataModel> GetAllDataOfPost(string postId)
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public PostDataModel GetPostByData(string data)
|
|
{
|
|
return new("", "", PostType.None, 0, true, DateTime.Now);
|
|
}
|
|
|
|
public void InsertPost(PostDataModel postDataModel)
|
|
{
|
|
}
|
|
|
|
public void UpdatePost(PostDataModel postDataModel)
|
|
{
|
|
}
|
|
|
|
public void DeletePost(string id)
|
|
{
|
|
}
|
|
|
|
public void RestorePost(string id)
|
|
{
|
|
}
|
|
} |