46 lines
949 B
C#
46 lines
949 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using TheButcherShopContracts.BusinessLogicContracts;
|
|||
|
using TheButcherShopContracts.DataModels;
|
|||
|
using TheButcherShopContracts.Enums;
|
|||
|
|
|||
|
namespace ButcherShopBusinessLogic.Implementations;
|
|||
|
|
|||
|
internal class PostBusinessLogicContract : IPostBusinessLogicContract
|
|||
|
{
|
|||
|
public List<PostDataModel> GetAllPosts(bool onlyActive = true)
|
|||
|
{
|
|||
|
return [];
|
|||
|
}
|
|||
|
|
|||
|
public List<PostDataModel> GetAllDataOfPost(string postId)
|
|||
|
{
|
|||
|
return [];
|
|||
|
}
|
|||
|
|
|||
|
public PostDataModel GetPostByData(string data)
|
|||
|
{
|
|||
|
return new("", "", PostType.None, 0, true, DateTime.UtcNow);
|
|||
|
}
|
|||
|
|
|||
|
public void InsertPost(PostDataModel postDataModel)
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public void UpdatePost(PostDataModel postDataModel)
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public void DeletePost(string id)
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public void RestorePost(string id)
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
}
|